1.
Complete the code to create a program that adds up all the numbers from 10 to 20. Make sure to include both 10 and 20 in the sum.
while the number is greater than 0 set the number to the number divided by 10 (ignore any remainder) add one to the number of digits
digitsIn
that is supposed to calculate the number of digits in A given number. You need to write the logic to calculate that.number
by 10, make sure to use //
to do whole number division.