This program shows the greatest number between three numbers using if-else-if statement. It takes three numbers as input from user…
Browsing: computer science 2nd year
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.”…
So as usual like everyone i like to start these tutorial with very basic questions like what is C? What…
C/C++ code to arrange number in ascending or descending order using bubble sorting algorithm. In bubble sorting 1st element is compared…
