Program to find area of circle using radius or diameter 2 functions one will calculate and return area of circle…
Browsing: C Language
Heron’s Formula for the area of a triangle(Hero’s Formula) A method for calculating the area of a triangle when you…
This program shows the greatest number between three numbers using if-else-if statement. It takes three numbers as input from user…
Formulas: Area of rectangle: height*width Perimeter of rectangle: 2*(height+width) C Code #include<stdio.h> #include<conio.h> void main() { float width,height,area,perimeter; printf(“Enter Width…
A simple c and c++ program to convert a decimal number into binary number system. C/C++ program to convert base…
A simple c and c++ program to find factorial of given number. Factorial of a number is product of all previous…
A simple c and c++ program to convert 12 hours time into 24 hours and 24 hours time in 12…
What is a Prime Number? ” A Natural number greater than 1 which has only two divisor 1 and itself…
What is a Prime Number? ” A Natural number greater than 1 which has only two divisor 1 and itself…
What is a perfect number? “Perfect number is a positive number which sum of all positive divisors excluding that number.”…