subject

Write a program which: Allows the user to input any of the following string: A1, A2, B1, B2, C1, C2

If the input is from the A category, the program must output "Footwear: ". And if the input is A1 it should output "Shoes" and if A2 it should output "Trainers"

B should output "Tops: "

B1 "Jackets"

B2 "TShirts"

C "Pants: "

C1 "Trousers"

C2 "Shorts"

If the user has not entered the correct data, the program must output "Incorrect input"

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:10
Assume that to_the_power_of is a function that expects two int parameters and returns the value of the first parameter raised to the power of the second parameter. write a statement that calls to_the_power_of to compute the value of cube_side raised to the power of 3 and that associates this value with cube_volume.
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
How can you repin an image on your pinterest pin board a. click on the "repin" button b. click on the "add pin" button c. click on the "upload a pin" button d. click on the "save pin" button.
Answers: 2
question
Computers and Technology, 23.06.2019 06:00
Which statistical function in a spreadsheet you to see how far each number varies, on average, from the average value of the list?
Answers: 2
question
Computers and Technology, 23.06.2019 07:00
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
You know the right answer?
Write a program which: Allows the user to input any of the following string: A1, A2, B1, B2, C1, C2...
Questions
question
Computers and Technology, 13.07.2019 09:00