Question: Draw Flowcharts for Algorithms Please draw flow charts to solve the following four problems. 1 ) Problem 1 ( 0 . 5 point ) You

Draw Flowcharts for Algorithms
Please draw flow charts to solve the following four problems.
1)Problem 1(0.5 point) You will have three inputs with random numbers. Please display them from the smallest one to the largest one.
2) Problem 2(0.5 point) Please display the BMI categories based on a BMI value.
If the BMI value is less than 18.5, it falls within the underweight range.
If the BMI value is 18.5 to 25(excluding 25), it falls within the healthy weight range.
If the BMI value is 25 to 30(excluding 30), it falls within the overweight range.
If the BMI value is 30 or higher, it falls within the obesity range.
3)Problem 3(0.5 point) Say you only have 15 minutes to play video games, and you have two games to play. One is Mario Kart, which takes m minutes to finish a round; and the other one is Mario and Rabbit Kingdom, which takes n minutes to finish a challenge (n is greater than m). Please draw the flow chart that makes the decision on which game to play.
4)Problem 4(0.5 point) Lets mimic the decision that an auto-driving car makes at the traffic light.
If the traffic light is green, follow the directions on GPS.
If the traffic light is yellow and the distance to the traffic light is less than 3 yards, follow the directions on GPS; otherwise, stop.
If the traffic light is red and you want to turn right, please make sure there is no other vehicles and then turn right; otherwise, stop.

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!