Question: 5. Design a module named getNumber, which uses a reference parameter variable to accept an Integer argument. The module should prompt the user to
5. Design a module named getNumber, which uses a reference parameter variable to accept an Integer argument. The module should prompt the user to enter a number and then store the input in the reference parameter variable. 6. What will the following pseudocode program display? Module main() Declare Integer x = 1 Declare Real y = 3.4 Display x, , Y Call changeUs (x, y) Display x, , Y End Module Module changeUs (Integer a, Real b) Set a = 0 Set b = 0 Display a, End Module T b
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
