Basic Programs
- Program to display a message
- Program to add two numbers
- Program to find the area of rectangle
- Program to find the average of three numbers
- Program to find volume of sphere
- Program to find area of triangle when height and base are given
- Program to convert the temperature from Celsius to Fahrenheit
- Program to find simple interest
- Program to convert the temperature Fahrenheit to celsius
- Program to find compound interest
- Program to perform all arithmetic operations on two integers
- Program to take amount as Rupee and paise and print it as paise
- Program to calculate sales man salary
- Program to calculate electricity bill
- Program to illustrate trigonometric function
Conditional Statement Programs
- Program to largest and equal of two numbers
- Program to largest of two numbers
- Program to check given number is odd or even
- Program to check a number is positive negative or zero
- Program to finding the roots of quadratic equation
- Program to find largest of three numbers
- Program for finding the area of triangle when three sides are given
- Program for updating the time by one second
- Program for largest and second largest of three numbers
- Program for updating the date by one day
- Program for finding difference of two dates
- Program for printing the last digit of an integer in words
- Program for doing arithmetic operation on two integers based on an operator
- Program to illustrate goto statement for looping
Looping Statement Programs
- Program to print 1 to n numbers using for loop
- Program to print all numbers from m to n using for loop
- Program to print all odd numbers from m to n using for loop
- Program to print all even numbers from m to n using for loop
- Program to print multiplication table for any given number
- Program to finding sum of 1 to n
- Program to finding sum of 1/2+2/3+3/4+……….n/n+1
- Program to finding factorial of a number
- Program to printing fibonacci series for first n terms
- Program to check for given number is prime or not
- Program to find the reverse of the given number