List Of Basic C Programming Exercises

Share Your Love

Below is a list of basic C programming exercises, please go through it-

Write a C program to perform input/output of all basic data types.
Write a C program to enter two numbers and find their sum.
Write a C program to enter two numbers and perform all arithmetic operations.
Write a C program to enter length and breadth of a rectangle and find its perimeter.
Write a C program to enter length and breadth of a rectangle and find its area.
Write a C program to enter radius of a circle and find its diameter, circumference and area.
Write a C program to enter length in centimeter and convert it into meter and kilometer.
Write a C program to enter temperature in Celsius and convert it into Fahrenheit.
Write a C program to enter temperature in Fahrenheit and convert to Celsius
Write a C program to convert days into years, weeks and days.
Write a C program to find power of any number x ^ y.
Write a C program to enter any number and calculate its square root.
Write a C program to enter two angles of a triangle and find the third angle.
Write a C program to enter base and height of a triangle and find its area.
Write a C program to calculate area of an equilateral triangle.
Write a C program to enter marks of five subjects and calculate total, average and percentage.
Write a C program to enter P, T, R and calculate Simple Interest.
Write a C program to enter P, T, R and calculate Compound Interest.

Share Your Love
Avatar photo
Lingaraj Senapati

Hey There! I am Lingaraj Senapati, the Founder of lingarajtechhub.com My skills are Freelance, Web Developer & Designer, Corporate Trainer, Digital Marketer & Youtuber.

Articles: 429

Newsletter Updates

Enter your email address below to subscribe to our newsletter