Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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       return

Explanation / Answer

d =14 e=4 f =63

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote