Latest

# Browsing: Computer Science

## [C/C++] Program to Find The Area of Circle

Program to find area of circle using radius or diameter 2 functions one will calculate and return area of circle by multiplying…

## [C/C++] Program to Find The Area of Any Triangle

Heron's Formula for the area of a triangle(Hero's Formula) A method for calculating the area of a triangle when you know the…

## [C/C++] Program to Find Greatest Among Three Numbers

This program shows the greatest number between three numbers using if-else-if statement. It takes three numbers as input from user and output…

## [C/C++] Program to Find The Perimeter And Area of a Rectangle

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 of Rectangle:…

## [C/C++] Program to Convert Decimal Number in Binary

A simple c and c++ program to convert a decimal number into binary number system. C/C++ program to convert base ten number…

## [C/C++] Program to Find Factorial Using All Loops

A simple c and c++ program to find factorial of given number. Factorial of a number is product of all previous number from…

## [C/C++] Program to Convert Time in 12 OR 24 Hours

A simple c and c++ program to convert 12 hours time into 24 hours and 24 hours time in 12 hours and…

## [C/C++] Program to Find Prime Number Between Given Range

What is a Prime Number? " A Natural number greater than 1 which has only two divisor 1 and itself is called…

## [C/C++] Program to Find Prime Number

What is a Prime Number? " A Natural number greater than 1 which has only two divisor 1 and itself is called…

## [C/C++] Program to Find Perfect Number

What is a perfect number? "Perfect number is a positive number which sum of all positive divisors excluding that number." For example…
×