4 For the given program: x-int(input("Enter a number:.") gid=0 fin 0 while(x>0): gid=x% 10 fin-fin+gid X=x/10 print("The sum of digits is:",fin) Page 2 d 4 Final Assignment Fill the values in the...


4 For the given program:<br>x-int(input(0): gid=x% 10 fin-fin+gid X=x/10 print("The sum of digits is:",fin) Page 2 d 4 Final Assignment Fill the values in the table below for every iteration of the loop:[first step is example): gid fin 8 148 14 Repeat the table for the following values of x: a. 526 b. 847 c. 914 d. 752 e. 439 "/>
Extracted text: 4 For the given program: x-int(input("Enter a number:.") gid=0 fin 0 while(x>0): gid=x% 10 fin-fin+gid X=x/10 print("The sum of digits is:",fin) Page 2 d 4 Final Assignment Fill the values in the table below for every iteration of the loop:[first step is example): gid fin 8 148 14 Repeat the table for the following values of x: a. 526 b. 847 c. 914 d. 752 e. 439

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here