0% found this document useful (0 votes)
13 views1 page

Assignments Basic Programs

The document outlines a series of basic programming tasks in C, focusing on fundamental operations and calculations. It includes programs for input/output of data types, arithmetic operations, geometric calculations, temperature conversions, and financial computations. Each task is presented as a specific programming challenge to enhance C programming skills.

Uploaded by

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

Assignments Basic Programs

The document outlines a series of basic programming tasks in C, focusing on fundamental operations and calculations. It includes programs for input/output of data types, arithmetic operations, geometric calculations, temperature conversions, and financial computations. Each task is presented as a specific programming challenge to enhance C programming skills.

Uploaded by

Milind Parashar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Programming in ‘C’ Basic Programs

1. Write a C program to perform input/output of all basic data types.


2. Write a C program to enter two numbers and find their sum.
3. Write a C program to enter two numbers and perform all arithmetic operations.
4. Write a C program to enter length and breadth of a rectangle and find its
perimeter.
5. Write a C program to enter length and breadth of a rectangle and find its area.
6. Write a C program to enter radius of a circle and find its diameter,
circumference and area.
7. Write a C program to enter length in centimeter and convert it into meter and
kilometer.
8. Write a C program to enter temperature in Celsius and convert it into
Fahrenheit.
9. Write a C program to enter temperature in Fahrenheit and convert to Celsius
10. Write a C program to convert days into years, weeks and days.
11. Write a C program to find power of any number x ^ y.
12. Write a C program to enter any number and calculate its square root.
13. Write a C program to enter two angles of a triangle and find the third angle.
14. Write a C program to enter base and height of a triangle and find its area.
15. Write a C program to calculate area of an equilateral triangle.
16. Write a C program to enter marks of five subjects and calculate total,
average and percentage.
17. Write a C program to enter P, T, R and calculate Simple Interest.
18. Write a C program to enter P, T, R and calculate Compound Interest.

You might also like