Computer Science, asked by janhavis808, 5 hours ago

change in do while and for loop​

Attachments:

Answers

Answered by Anonymous
1

Answer:

for(int x=0;i<=n;i++)

{

sum+=x%10;

x/=10;

}

Similar questions