Explain the working of C++ Program of Sum of Factors.
.
Program in the Attachment!
Attachments:
Answers
Answered by
1
#include <iostream.h>
#include <conio.h>
Void main ()
{
clrscr();
int x=0 ; y, sum = 0;
Cout <<\n Enter a number:) ;
Cin>> y ;
while (1)
{
x+=1;
if(x>y)
}
Similar questions