C Programming Assignment Questions
Loop Assignment Questions: 1. Print the numbers from 1 to 100 but skip the multiples of 5 Ex;- 1, 2, 3,4, 6, 7,8,9,11,12,13,14,16,… 99 2. Program to find the sum & avg of 10 positive integers 10, 110,45,87,9,450,23,92,134,678 = sum avg 3. Print the below pyramid 5 4 4 3 3 3 2 2 2 2 1 1 1 1 1 4. Write a program to print all prime numbers from 1 to 99 Output : 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97 5. Write a program to find whether the given number is palindrome or not ? Ex:- 4526254 Is a palindrome number 12334 is not a palindrome number 6. Input a number & a digit, and count the number of times the digit occurs in the number Ex:- input number is 12341321 and the digit is 1 & the output is 3 3 times 1 present in the given number 7. Print the square box using * Example:- given number is 4 **** * * * * * * * ...