What is a Prime Number? ” A Natural number greater than 1 which has only two divisor 1 and itself…
Browsing: cpp programs
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.”…
C/C++ code to arrange number in ascending or descending order using bubble sorting algorithm. In bubble sorting 1st element is compared…
C Code #include<stdio.h> #include<conio.h> void main() { int x,n,result=1; clrscr(); printf(“Enter Number \”n\”: “); scanf(“%d”,&n); printf(“\nEnter Power to Raise \”x\”:…
