C Programs
C Programs
1. Give Example of -if loop(done) -if-else loop -if-else ladder -nested-if -while(done) -do while -For loop 2. Write a program to perform arithmetic operations (Addition, Subtraction, Division, Multiplication) on two nos.(done) 3. Write a program to find that character entered is vowel or not. 4. Write a program to find out that the no entered is even no or odd no. 5. Write a program to find out the sum of entered no(e.g. no=123 than sum=1+2+3=6) 6. Addition of n numbers.(if user has entered 5 digits , then make summation of 5 digits)(take input from user) 7. Write a program to find out the reverse of a given no. 8. Write a program to make Floyds Triangle. e.g. 1 23 456 7 8 9 10 9. Find the Maximum two max no among three nos. 10. Write a program to make Triangle. e.g. 1 22 333 4444