Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

restaurant bill control structures

Discussion in 'Visual Scripting' started by myphamhanquoc, Nov 21, 2020.

  1. myphamhanquoc


    Nov 18, 2020
    QUESTION: Mak a code that the program will accept the following inputs: the name of the customer, the total number of fries, burger(s), donut(s), ice cream, and soft drinks ordered and that the output is a summary of the order and the total bill (total amount of the order plus 20% VAT) of the customer. The output will show as:

    Hi John! Here’s the summary of your order:
    1 fries 80 80
    1 burger(s) 150 150
    1 donut(s) 30 30
    2 ice cream 25.50 51
    1 soft drink(s) 20 20

    Subtotal: 331
    20% VAT: 66.2

    Total Bill: 397.2

    Help please thank u