1. Write a C Program to print Welcome to C Programming.

Output:

2. Write a program to print the following:
Welcome to C Programming
It is invented by Denis Ritche
It is Portable, Flexible and versatile

Output:

3. Write a program to print the following:
Welcome to
C Programming
Invented by
Denis Ritche

Output:

4. Write a program to add two numbers.

Output:

OR

Output:

5. Write A C program to add two numbers taking input from user.

Output:

OR

Output:

6. Write a C program to display Sum and Difference of two numbers.

Output:

OR

Output:

OR

Output:

7. Write a program to store two integer values in two variables and using them calculate Addition, Subtraction, Multiplication and Division.

Output:

8. Write a program in C to find the average of three numbers.

Output:

9. Write a program to convert Rupees into Paisa.
OR
Write a program to read the price of an item in rupees in decimal format and prints the output in paisa.
OR
Write a program to read a price of an item in (float) like 10.25 and print output in (int) paisa like1025.
OR
Make a program in to enter the amount in Rupees and print into paisa.

Output:

10. Write a program to find the Distance travelled in miles given the speed and time. The speed is 4.5 MPH and time is 2.1 sec.

Output:

11. Given the Mass and Velocity as 14 and 3, find the Kinetic Energy of a particle in C programming.

Output:

12. Write a C program to calculate Kinetic Energy.

Output:

13. Write a program to calculate total, average marks and percentage of 5 subjects of a student. Â


Output:

OR

Output:

14. Write a program to input name and marks of the student and print the statement of marks.


Output:

15. Write a program to print a pay-slip using the following data:
Employee Number is 100
BASIC Salary is 3700
DA must be calculated as 10% of BASIC
HRA must be calculated as 20% of BASIC
Total Salary must be calculated as BASIC+DA+HRA

Output:

16. The basic salary of an employee is input through the keyboard. The DA is 15% of the basic salary while the HRA is 25% of the basic salary. Write a program to calculate his total salary. Total Salary must be calculated as BASIC SALARY +DA+HRA.

Output:

OR

Output:

17. Write a program to calculate simple interest.
Or
 Write a program to find the simple interest.

Output:

18. Write a program to calculate and display the area and circumference (perimeter) of a circle by accepting the radius from the user.

Output:

19. Write a program that reads the side of a square and calculates the area and perimeter of square and prints them.

Output:

20. Write a C program to convert temperature in Celsius to Fahrenheit.

Output:

21. Write a C program to convert the normal body temperature of a man from Fahrenheit to Celsius.
OR
Write a C program to convert temperature in Fahrenheit to Celsius.

Output:

22. Write a program to calculate and print the function value after evaluating.
y=x2 + 2x – 3 at x=4

Output:

23. The two memory variables a and b have the data values 6 and 17 respectively. Write a ‘C’ program that will make the variable a to have the content of b and b to have the content of a. In other words exchange the content of the variables. Â
Hint: Use a temporary variable to avoid any data loss.
OR
Write a C program to swapping two numbers using a temporary variable.

Output:

20. Write a C program that reads the price of an item and prints the output in paisa.

Output:

21. Write a program that calculates the circumference and area of a circle.
OR
Write a program to calculate and display the area and circumference of a circle by accepting the radius from the user.
OR
Write a program that calculates the area and circumference of a circle from its radius. The value of PI may be assigned to a variable or used as a constant in the calculation.

Output:

22. Write a C program to swap two numbers.

Output:

23. Write a C program to swap two numbers without using third variable.

Output:

OR

Output:

24. Write a program to calculate sum of first n natural numbers.

Output:

25. Write a C program to find area and perimeter of a square.
OR
Write a program that reads the side of a square and calculates the area and perimeter of square and prints them

Output:

26. Write an interactive program that read days and converts into year, months, weeks and days.
OR
Write a program to convert a given number of days to a measure of time given in years, months, weeks and days.
Consider 365 days in a year (ignore leap year), and 30 days in a month.

Output:
