Various Looping Programs in C++
* Program to print table of a given number:
Output:
* Program to print following series:
3 2 6 4 9 6 12 8 . . . . . . .
Output:
* Program to print Fibonacci series:
0 1 1 2 3 5 8 13 21 34 . . . . . . .
Output:
* Program to print following series:
2 6 11 17 24 32 41 51 . . . . .
Output:
* Program to find factorial of a given number:
Output:
* Program to check a given number is Prime or Not:
Output:
* Program to find Decimal Value of a given Octal Number:
Output:
टिप्पणियाँ
एक टिप्पणी भेजें