What are the final values of variables d, e, and f after thefollowing programs r
ID: 3608764 • Letter: W
Question
What are the final values of variables d, e, and f after thefollowing programs runs? start d = 1 e = 3 f = 100 while e >d perform module1 ( ) endwhile if f > 0 then perform module2 ( ) else print d, e,f stop module1 ( ) f = f - 50 e = e + 1 d = d + 3 return module2 ( ) f = f + 13 d = d + 10 return What are the final values of variables d, e, and f after thefollowing programs runs? start d = 1 e = 3 f = 100 while e >d perform module1 ( ) endwhile if f > 0 then perform module2 ( ) else print d, e,f stop module1 ( ) f = f - 50 e = e + 1 d = d + 3 return module2 ( ) f = f + 13 d = d + 10 returnExplanation / Answer
d =14 e=4 f =63
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.