computer science homework.

label Computer Science
account_circle Unassigned
schedule 1 Day
account_balance_wallet $5

Write if else if statements to find the maximum of four random numbers which are stored in variables a, b, c and d. Then assign the maximum number to variable s. (Assume the variables have been declared and you do not know the value of variables.)

Oct 19th, 2017

s=a;
if(b>s)
  s=b;
if(c>s)
  s=c;
if(d>s)
  s=d;

May 12th, 2015

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
...
Oct 19th, 2017
...
Oct 19th, 2017
Oct 20th, 2017
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer