Design a module named getNumber, which uses a reference parameter variable to accept an Integer argument. The module should prom
pt the user to enter a number and then store the input in the reference parameter variable.
1 answer:
Explanation:
Module getNumber (Integer Ref Value)
Display "Display a number"
Input number
End module
Module main ()
Declare Integer number x = 1
Declare Real number y = 2.5
Display( x, " " ,y)
Call changeUS (x,y)
Display( x, " " ,y)
End module
You might be interested in
I think it might be Heading & Border
I would own Apple. Because I would be rich and create apple products
Operating systems and web servers
Food and oxygen would be the answer
The password would be Apple 123