211k views
2 votes
What is something that a robot or computer program might do that requires a decision, or conditional statement?

1 Answer

5 votes

Answer:

Make decisions such as greeting a user depending on the time of day. Example: saying good morning while it is morning but saying good afternoon to the user only when it is the appropriate time.

Step-by-step explanation:

I have used decision making methods in various programs to greet users, and determine whether to do one thing or another based on values passed to the program

If you have any questions feel free to ask me and I will do my best to help and explain! :)

User Ksrb
by
4.9k points