Question: Write a code to find the min and the max between 5 numbers (using repl.it if possible) o Tools Window Help 480% CO Mon 11:09

Write a code to find the min and the max between 5 numbers (using repl.it if possible)  Write a code to find the min and the max between

o Tools Window Help 480% CO Mon 11:09 PM a Ch3 Control Structures.v2.pdt (page 43 of 71) Given an array literal that has 5 float numbers, find the max and min numbers. Use "for" and "if/else" statements. (note: not two 'for' loops). Hint: Need to define two variables to store the max and min numbers Display the max number on console when 9, is typed and display the min number when '0' is typed. Display a warning message if any other number or letter is typed Optional: not use array literal, but some numbers manually input by the user. Note: Display a prompt message to inform the user to provide inputs; and display some info messages before popping out any outputs. o Tools Window Help 480% CO Mon 11:09 PM a Ch3 Control Structures.v2.pdt (page 43 of 71) Given an array literal that has 5 float numbers, find the max and min numbers. Use "for" and "if/else" statements. (note: not two 'for' loops). Hint: Need to define two variables to store the max and min numbers Display the max number on console when 9, is typed and display the min number when '0' is typed. Display a warning message if any other number or letter is typed Optional: not use array literal, but some numbers manually input by the user. Note: Display a prompt message to inform the user to provide inputs; and display some info messages before popping out any outputs

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!