Screenshot 2024-03-04 at 2.45.28 PM
Screenshot 2024-03-04 at 2.45.28 PM
Input
the values of a & b from keyboard.
2. Write a C program to calculate area of circle.
3. Write a program to print square of given number.
4. Write a C program to add two integer numbers.
5. Write a C program to calculate sum of a five-digit
number(Use the modulus operator '%').
6. Write a program to display whether given number is even
or odd using conditional operators.
7. Write a program to print biggest number between two
numbers using conditional operators.
8. Write a program accept marks of 5 subjects calculate the
percentage and display grade of students from percentage.
(Grade Distinction, first class, second class, pass class, fail).
9. Write a program to find whether given number is even and
divisible by 5 or not.
10. Write a C program to determine whether a given leap year or
not.
11. Write a C program to determine whether a string is
palindrome.
12. Write a C program to print day of the week by taking
number from 1 to 7 using switch statement.
13. Display the season- Summer, Winter, Rain for given month
of year{Jan,Feb,--------,Dec}.
14. Write a C program to print English calendar months as per
using switch statements.(e.g if input is 4 then print "April").
15. Find the sum of digits of a given number using do-while
loop.
16. Write a program to reverse number of given number print
using While loop.
17. Write a C program to print numbers from 1 to 100.
18. Write a C program to print the tables of 5 up to 10
19. Write a program to produce following output.
1
2 3
4 5 6
7 8 9 10
20. Write a C program to produce following output.
*
* *
* * *
* * * *
21. Write a C program to input 5 numbers using array and
display sum of it.
22. Write a program to calculate addition of 3 X 3 matrix.
23. Write a program to calculate the length of the given string
without using standard string functions.
24. Write a program to print reverse of the given string
without using standard string functions.
25. Write output to accept and display information of 10
employee using array of structure.
26.Develop a program to demonstrate : Use of all String
handling functions.
27. Use of few Mathematical functions.
28. Write a program to find factorial of given number using
recursive functions 42. Write a program to print values of
variables and their addresses using pointers.
29.Develop a program to perform increment/decrement
operations on pointers.