output digits of an n numberThanks, but that is too complicated to me, im beginner D:. Something simple?

output digits of an n numberHello guys, I have an problem with outputting all digits of an number. I know with 2, 3, 4, 5, 6 an...

Calculating the sum with for loopok @Oriol Serrabassa i put sum = 0 and it worked with sum; the result of 12 + 12 it was 2868.. some...

Calculating the sum with for loopI don't know what to do after this... Can you help me little bit? [code] int n, i, s; cout <...

can you solve this task?Sorry man, I did it! [code] int n[300], i; for(i=0; i<=300; i++){ cin >> n[i]; ...