+ 1

How can i write a C++ program to find the sum of all the digits of a number using WHILE.... statement?

Understanding WHILE ... Statement

29th Oct 2022, 12:50 PM
WALTER CHIBUIKEM CHUKWUEMEKA
WALTER CHIBUIKEM CHUKWUEMEKA - avatar
1 Answer
+ 1
Hello Walter, Have you tried searching Code section for examples on that subject? I'd try that first if I were you. Once you find one, try to understand it. When in doubt, ask the author by commenting the code, or have the code link attached in Description of a new Q&A post asking how that code works. Try to find examples that has explanatory comments accompanying the code ...
29th Oct 2022, 1:40 PM
Ipang