List of Task to be performed
20/09/2024
1. Write a C program to calculate Days of the Week using switch
statement.
2. Write a C program to calculate Simple Calculator using switch
statement.
3. Write a C program to calculate Vowel or Consonant using switch
statement.
4. Write a C program to check Even/Odd using switch statement.
5. Write a C program to check Grade Classification using switch
statement.
6. Write a C program to check Grade Classification using switch
statement.
7. Write a C program to check Month to Season using switch statement.
8. Write a C program to check Number to Word using switch statement.
9. Write a C program to check Temperature Conversion Menu using
switch statement.
10. Write a C program to Print Numbers from 1 to 10 using while loop.
11. Write a C program to Sum of First N Natural Numbers using while
loop.
12. Write a C program to Reverse a Number using while loop.
13. Write a C program to Check if a Number is Prime using while loop.
14. Write a C program to find factorial of number using while loop.
15. Write a C program to Sum of Digits of a Number using while loop.
16. If a four-digit number is input through the keyboard, write a program
to obtain the sum of the first and last digit of this number.
17. Write a program to take input of name, rollno and marks obtained by
a student in 4 subjects of 100 marks each and display the name,
rollno with percentage score secured.
18. Write a program to compute grade of students using if else adder.
The grades are assigned as followed:
Marks Grade Grade
b. marks<50 F
c. 50≤marks< 60 C
d. 60≤marks<70 B
e. 70≤marks<80 B+
f. 80≤marks<90 A
g. 90≤mars≤ 100 A+
19. Write a program to check number is Armstrong or not using while
loop.
20. Write a C program to Counting the Number of Digits using while
loop.
21. Write a C program to Print multiplication table of a number using for
loop
22. Write a program to print positive integers from 1 to 10.(Using for
loop,while loop and Do-while loop)
23. sum of the first and last digit of this number.
24. Write a C program to reverse a given number using a for loop.
25. Write a C program to find the Greatest Common Divisor (GCD) of
two numbers using a for loop.
26. Write a program to check whether a number is Palindrome or not.
27. Write a program to display the following pattern.
*
**
***
****
*****