Question: using coral language Define a function named LargestNumber that takes three integers as parameters and returns the largest integer. Define a second function named SmallestNumber
using coral language Define a function named LargestNumber that takes three integers as parameters and returns the largest integer. Define a second function named SmallestNumber that takes three integers as parameters and returns the smallest integer. Then, write a main program that reads three integers as inputs, calls functions LargestNumber and SmallestNumber with the inputs as arguments, and outputs the largest and the smallest of the three input values.
Ex: If the input is:
the output is:
largest:
smallest:
Your program should define and call two functions:
Function LargestNumberinteger num integer num integer num returns integer largestNum
Function SmallestNumberinteger num integer num integer num returns integer smallestNum
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
