Computer Science, asked by pjpratap247, 3 months ago

int g=0 , x=1;

while(x<=n)

{

if(n % x ==0)

g=g+x;

x++;

}

System.out.println(g); What will be the output when n =7​

Answers

Answered by priyashahi1300
0

Answer:

Please mark me as a brainlist

Explanation:

Please mark me as a brainlist

Similar questions