subject

Write code that assigns maxValue with the return value of calling the function GetMaxValue passing userNum1 and userNum2 as arguments (in that order). Then, assign maxValue with the return value of calling GetMaxValue passing maxValue and userNum3 as arguments (in that order). Function GetMaxValue(integer value1, integer value2) returns integer result
if value1 > value2
result = value1
else
result = value2
Function Main() returns nothing
integer userNum1
integer userNum2
integer userNum3
integer maxValue
userNum1 = Get next input
userNum2 = Get next input
userNum3 = Get next input
// Your solution goes here
Put "Max value: " to output
Put maxValue to output
has to be in Coral

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:00
In a word processing program, such as microsoft word, which feature to you choose the desired picture enhancement?
Answers: 2
question
Computers and Technology, 23.06.2019 18:40
How does is make you feel when you're kind to others? what are some opportunities in your life to be more kind to your friends and loved ones? imagine a world where kindness has be outlawed. how would people act differently? would your day-to-day life change significantly? why or why not?
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
How can you make your column headings stand out?
Answers: 1
question
Computers and Technology, 24.06.2019 07:20
Ingrid started speaking about her slide presentation. when she clicked to th"third slide, which had just a picture of an elephant, she forgot what she wassupposed to talk about. what could ingrid do to avoid this situation in thefuture? oa. print handouts for her audience.ob. add presenter's notes to each slide.oc. add a video to each slide.od. save her slide presentation to a flash drive
Answers: 2
You know the right answer?
Write code that assigns maxValue with the return value of calling the function GetMaxValue passing u...
Questions
question
Mathematics, 07.12.2019 01:31
Questions on the website: 13722361