Discussion board, programming logic | IT106 Introduction to Programming Logic | Colorado Technical University

For this Discussion Board, please complete the following:

Decision-making statements are used to control the flow of the program. For example, you may use a decision-making statement to write a program to determine if a student passes the class based on his or her score. If the score is equal to or greater than 60, the student passes the class. Otherwise, the student fails. Assume that you are the programmer hired by a bank to write a program for its automated teller machines (ATM). Give an example that makes use of a decision-making statement in the program, and answer the following questions:

  • Which decision-making statement will you use, (e.g., if, if-else, or switch) for that example?
  • Why do you use that decision-making statement for that example?