Basic Programming
If u want to solve these problems by yourself at first you have to acquire knowledge about Operators, Data types, Variables and expression, Basic input/output.
Here Is some basic solved problem. Try first by yourself, If u unable to solve these problems then see the solution.
Here Is some basic solved problem. Try first by yourself, If u unable to solve these problems then see the solution.
- 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.
No comments