IF, If there is heavy traffic on the current route, then the app suggests a faster alternative route., If it is raining, then the app displays an umbrella icon and suggests bringing an umbrella., IF-else, If the user has reached the destination, then the app announces, "You have arrived"; otherwise, it continues providing turn-by-turn directions., If the battery level is below 20%, then the app enables Battery Saver mode; otherwise, it keeps normal settings., IF-elseIF-else, If the quiz score is 90–100%, then the app displays "Excellent!" and awards a gold badge. Else if the score is 75–89%, then it displays "Good job! Keep practicing." Else, it displays "Review the lesson and try again.", If the restaurant is open, then the app allows ordering. Else if it will open within 30 minutes, then the app allows scheduling an order. Else, it recommends nearby restaurants that are currently open., IF-elseIF-elseIF-else, If the quiz score is 90% or above, then unlock the next level. Else if the score is 80–89%, then award a silver badge. Else if the score is 70–79%, then recommend reviewing the lesson. Else, require the student to retake the quiz., If the battery is above 80%, then use normal performance. Else if the battery is between 50% and 80%, then reduce screen brightness slightly. Else if the battery is between 20% and 49%, then enable Power Saving Mode. Else, enable Ultra Power Saving Mode and notify the user to charge the device.

Conditional Programming

Tulostaulu

Visuaalinen tyyli

Vaihtoehdot

Vaihda mallia

Säilytetäänkö automaattisesti tallennettu tehtävä ?