Suppose that in the subprogram, all occurrences of Num1, Num2, and Num3 were replaced by A, B,

Question:

Suppose that in the subprogram, all occurrences of Num1, Num2, and Num3 were replaced by A, B, and C, respectively. If code corresponding to the resulting pseudocode were run as in Exercise 19, what would be the output now?

Main Declare X As Integer Set X = 1 Call Display(2*X,X,5) End Program Subprogram Display(Integer Numl, Integer Num2, Integer Num3) Write Numl + + Num2 + + Num3 End Subprogram

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Prelude To Programming

ISBN: 9780133741636

6th Edition

Authors: Stewart Venit, Elizabeth Drake

Question Posted: