a program to display perfect integers from 1 to 1000.
Answers
Answered by
0
#include<iostream.h>
void main()
{
float no.,perft;
cout<<"enter the no.";
cin>>no.;
if(no.=<0)
perft=no.
cout<<"the perfect no. is"<<perft;
else;
cout<<"you entered an imperfect integer";
}
Similar questions