The main program prompts the user three times for three integers one by one and then passes these values as arguments to the maximum function for further processing
Design two pseudocode programs for a main application and a function called maximum.
The main program prompts the user three times for three integers one by one and then passes these values as arguments to the maximum function for further processing. The main program finally receives the result back and displays the maximum of these three integers.
The maximum function simply receives three integer values from the main program and finds the maximum of three integers and returns one value back to the caller (in this case the main application).
Comments
Post a Comment