0% found this document useful (0 votes)
14 views

C Practice Problems(Input_output- Basic Operations)

Uploaded by

yadullahgoni
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

C Practice Problems(Input_output- Basic Operations)

Uploaded by

yadullahgoni
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1. Write a C program to print your own name.

2. Write a C program to add/subtract/multiply/divide two numbers.

3. Write a C program to calculate the average of three numbers.

4. Write a C program to print the ASCII value of a character.

5. Write a C program to swap two numbers using third/temporary variable.

6. Write a C program to swap two numbers without using third/temporary variable.

7. Write a C program to find the simple interest.

8. Write a C program to find the compound interest.

9. Write a C program to find the area of a Circle/Square/Rectangle/Triangle.

10. Write a C program to convert Number of Days to Years, Months & Days.

You might also like