broken image
broken image
  • Home
  • Who We Are 
    • Our Story
    • Our Board & Advisory Board
    • Our Students
    • Annual Reports
    • Media
  • Our Programs 
    • English Program
    • Women in Tech (WiT)
    • Professional Skills Development
    • Legacy
  • Get Involved 
    • Students
    • Volunteers
    • Support Us
    • Career
  • Partner With Us
  • Blog
  • …  
    • Home
    • Who We Are 
      • Our Story
      • Our Board & Advisory Board
      • Our Students
      • Annual Reports
      • Media
    • Our Programs 
      • English Program
      • Women in Tech (WiT)
      • Professional Skills Development
      • Legacy
    • Get Involved 
      • Students
      • Volunteers
      • Support Us
      • Career
    • Partner With Us
    • Blog
    DONATE
    broken image
    broken image
    • Home
    • Who We Are 
      • Our Story
      • Our Board & Advisory Board
      • Our Students
      • Annual Reports
      • Media
    • Our Programs 
      • English Program
      • Women in Tech (WiT)
      • Professional Skills Development
      • Legacy
    • Get Involved 
      • Students
      • Volunteers
      • Support Us
      • Career
    • Partner With Us
    • Blog
    • …  
      • Home
      • Who We Are 
        • Our Story
        • Our Board & Advisory Board
        • Our Students
        • Annual Reports
        • Media
      • Our Programs 
        • English Program
        • Women in Tech (WiT)
        • Professional Skills Development
        • Legacy
      • Get Involved 
        • Students
        • Volunteers
        • Support Us
        • Career
      • Partner With Us
      • Blog
      DONATE
      broken image

      Sawsan Anjari - (Python 1 Course - Fall 2024)

      Food Machine

      We have a fast food machine in a restaurant and we need to design its program on

      Python so that the customer orders the type of food he wants from the menu and then

      puts money in the machine, then it makes the food for this customer, and then asks the

      customer if he wants to order something else or not (drinks or desserts) to make for

      him.

      Summary of Program Flow:

      1. The program starts with a food order.

      2. Once the food order is complete, the user is asked if they want to order more.

      3. If they choose to continue, they can order drinks or desserts.

      4. Payment is handled for each item, and appropriate messages are displayed for the

      transaction.

      5. The program ends when the user no longer wants to order anything.

      broken image
      broken image
      broken image
      broken image
      broken image
      broken image
      broken image
      broken image
      broken image
      broken image
      broken image

      Subscribe
      Previous
      Alia’a Furas - (Python 1 Course - Fall 2024)
      Next
      Afraa Al Sharani - (Python 1 Course - Fall 2024)
       Return to site
      Profile picture
      Cancel
      Cookie Use
      We use cookies to improve browsing experience, security, and data collection. By accepting, you agree to the use of cookies for advertising and analytics. You can change your cookie settings at any time. Learn More
      Accept all
      Settings
      Decline All
      Cookie Settings
      Necessary Cookies
      These cookies enable core functionality such as security, network management, and accessibility. These cookies can’t be switched off.
      Analytics Cookies
      These cookies help us better understand how visitors interact with our website and help us discover errors.
      Preferences Cookies
      These cookies allow the website to remember choices you've made to provide enhanced functionality and personalization.
      Save