You have been asked to write a program that will ask the user for his or her pizza order and display it. The order will include the size of the pizza and the type of crust, cheese, and topping. Read the pseudocode for the program:

Input:
Ask user what size pizza—small, medium, or large
Ask user what type of crust
Ask user what kind of cheese
Ask user what topping
Output:
Print a message that clearly displays the user's pizza size, crust type, cheese type, and topping.
Write both the input statement that prompts the user for the type of cheese and the print statement that clearly displays the output message related to the type of cheese.

Respuesta :

The program that will ask the user for his or her pizza order and display it is as follows:

a = input("what is the size of the pizza(Is it small, medium or big): ")

b = input("what is the type of crust? ")

c = input("what kind of cheese do you want? ")

d = input(" what is the topping? ")

print(f"The size of your pizza is {a}, the crust is {b} and the cheese type and toppings are {c} and {d} respectively")

Code explanation:

The code is written in python;

  • The first line of code ask the user for the sizes of pizza he/she wants.
  • The second line of code ask the user to input the type of crust.
  • The third line of code user the kind of cheese he/she wants.
  • The fourth line of code ask the user for topping type.

Then, finally, we print the message for the users order annd display it.

                           

learn more on python code here: https://brainly.com/question/18651677

Ver imagen vintechnology
Ver imagen vintechnology
ACCESS MORE
EDU ACCESS