About Lesson
while loop – Unknown loop and condition control.
while(condition)
{
…
….
….
}
enter a number and count its digits
Assignments
1. Sum of Digits %
2. Reverse of Digits
3. Print a number to Word 123=> One Two Three
4. enter a number and check is it arm strong or not
153
1*1*1+5*5*5+3*3*3 =>1+125+27=>153