Program in C++ to find the prime number in given range
Write a C++ program to find prime numbers between 1 to 100
Prime numbers in a range - C++
Program to find the prime numbers between a given range
Write a program to print all the prime numbers with in the given range
C++ program to find prime numbers between two numbers
C++ program to find sum of prime numbers
C++ Program to Find Prime Numbers in a given Range

C++ program to check whether a number is not a perfect number or not

#include<iostream>#include<iomanip>usingnamespacestd;intmain(){intn,i=1,sum=0;cout<<"Enter a number: ";cin>>n;while(i<n){if(n%i==0)sum=sum+i;i++;}if(sum==n)cout<<i<<" is a perfect number";elsecout<<i<<" is not a perfect number";system("pause");return0;}

Computing whether is a perfect number - C++
c++ - deciding if a number is perfect or prime
Find out the perfect number using c++ program
C++ Program to Find Perfect Number
C++ program to check if no. is perfect number or not
Program to Find the Given Number is Perfect Number or not in C

Program to convert decimal to binary in C++

/* program : Decimal to binary. description : to convert decimal number between 0 to 255 to binary */# include <iostream>#include <math.h>usingnamespacestd;intmain(){unsignedshortintx=0,b=128,z=0,a=8;cout<<"please enter the number between 0 and 255 \n";cin>>x;if(x>255)cout<<" out of range ";else{cout<<x<<" converted to binary number :";while(a!=0){z=x&b;if(z==128)cout<<"1";elsecout<<"0";x=(x<<1);a--;}}cout<<"\n";system("pause");return0;}