Programs with Simple Sequence Statements in C-language


1. Write your first C-program to print any statement.


2. Write a C-program to print value of any identifier.



3. Write a C-program to use scanf() function for user input.



4. Write a C-program to print the sum of two integers.

5. Write a C-program to print the product of two floating point numbers.

6. Write a C-program to print the area and perimeter of a rectangle.

7. Write a C-program to print the area of a circle and weight of an object to demonstrate the use of constants.


8. Write a C-program to swap or exchange the values of two variables.







Post a Comment

0 Comments