1.
Write a C program to demonstrate the use of printf()
and scanf() functions. Prompt the user to enter their
name and age , then display the entered information.
2. Write a C program to define and use symbolic constants.
Define symbolic constants for PI and the radius of the circle ,
then calculate and display the area of the circle.
3. Write a C program to demonstrate the use of various
operators and expressions. Perform addition, subtraction,
multiplication, and division on two numbers entered by the
user and display the results.
4. Write a C program to implement decision making using if-
else statements. Check if a number entered by the user is
positive, negative or zero and display the result.
5. Write a C program to implement a nested if statement .
6. Write a C program to demonstrate the use of switch
statement. Simulate a simple calculator to perform addition,
subtraction, multiplication and division based on user input.
7. Write a C program to implement looping using a while
loop.
8. Write a C program to implement looping using a do-while
loop.
9. Write a C program to implement looping using for loop.
10. Write a C program to demonstrate the use of
break and continue statements. Print numbers
from 1 to 10, but skip the number 5 using
continue and stop the loop when it reaches 8
using break.
11. Write a C program to defined function to calculate the
factorial of a number, entered by the user and display the
result.
12. Write a C program to demonstrate the use of arrays.
Read 10 integers from the user, store them in a array find
the largest number.