Computer Science, asked by Anonymous, 1 year ago

Explain the working of C++ Program of Sum of Factors.

.

Program in the Attachment!

Attachments:

Answers

Answered by omegads03
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