Here i am with more questions Of language C which will check your knowledge. Try to solve theses problems with the help of loops.
Question-1:- Write a program to print out all Armstrong numbers between 1 and 999. If sum of cubes of each digit of the number is equal to the number itself, then the number is called an Armstrong number. For example, 153 = ( 1 * 1 * 1 ) + ( 5 * 5 * 5 ) + ( 3 * 3 * 3 )
Question-2:- Write a program to find the factorial value of any number entered through the keyboard.
Question-3:- Write a program to print the following series and find its value if "n" is entered through keyboard.
1 + 2 + 3 + 4 + .......... + n.
Question-4:- Write a program to check whether the entered number is PRIME or not.
Question-5:- Write a program to reverse the entered digits and print it on the screen.
Solutions will be provided in the next post after 2 or 3 days.
So check your knowledge first and then refer to the solution.



News