## C++ program to find Perfect Number or Not using For Loop

Before going to the program to find Perfect Number or Not first let us understand what is a Perfect Number? Perfect Number: A Perfect Number is a number that...

Skip to content
# Category: C++ PROGRAMS

##
C++ program to find Perfect Number or Not using For Loop

##
C++ Program to find Prime Number or Not using For Loop

##
C++ Program to find Prime Number or Not using While Loop

Before going to the program for Prime Number or Not first let us understand what is a Prime Number? Prime Number: A Prime Number is a number greater...

##
C++ program for Cosine Series

##
C++ program for Exponential Series

##
C++ program for Sine Series

##
Factorial of a Number in C++ using Recursion

##
Reverse of a Number using do-while loop in C++

##
Reverse of a Number using while loop in C++

##
Reverse of a Number using For loop in C++

Before going to the program to find Perfect Number or Not first let us understand what is a Perfect Number? Perfect Number: A Perfect Number is a number that...

Before going to the program for Prime Number or Not first let us understand what is a Prime Number? Prime Number: A Prime Number is a number greater...

Before going to the program for Cosine Series first let us understand what is a Cosine Series? Cosine Series: Cosine Series is a series which is used to find the value...

Before going to the program for Exponential Series first let us understand what is a Exponential Series? Exponential Series: Exponential Series is a series which is used to find the value of...

Before going to the program for Sine Series first let us understand what is a Sine Series? Sine Series: Sine Series is a series which is used to find the value...

Before going to the program first let us see what is Factorial of a Number? and what is Recursion? Factorial of a Number: The factorial of a Number n, denoted by...

Program code to find Reverse of a Number: #include<iostream.h> #include<conio.h> void main() { int n,a,r,s=0; clrscr(); cout<<“\n Enter The Number:”; cin>>n; a=n; //LOOP FOR FINDING THE REVERSE OF A NUMBER do { r=n%10; s=s*10+r; n=n/10;...

Program code to find Reverse of a Number: #include<iostream.h> #include<conio.h> void main() { int n,a,r,s=0; clrscr(); cout<<“\n Enter The Number:”; cin>>n; a=n; //LOOP FOR FINDING THE REVERSE OF A NUMBER while(n>0) { r=n%10; s=s*10+r; n=n/10;...

Program code to find Reverse of a Number: #include<iostream.h> #include<conio.h> void main() { int i,n,r,s=0; clrscr(); cout<<“\n Enter The Number:”; cin>>n; //LOOP FOR FINDING THE REVERSE OF A NUMBER for(i=n;i>0; ) { r=i%10; s=s*10+r; i=i/10;...