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. 

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!