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, 23.06.2019 09:20
How to print: number is equal to: 1 and it is odd number number is equal to: 2 and it is even number number is equal to: 3 and it is odd number number is equal to: 4 and it is even number in the console using java using 1 if statement, 1 while loop, 1 else loop also using % to check odds and evens
Answers: 3
question
Computers and Technology, 23.06.2019 11:50
While preforming before operation pmcs, you notice the front right tire appears slightly under-inflated. what is the proper action?
Answers: 3
question
Computers and Technology, 24.06.2019 10:40
Joe needs to see the slide transitions and animations he has applied to his slides in a large view. which presentation view should he use? in which tab would joe find the animations option to make further changes, if any?
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
What are the different components of the cloud architecture?
Answers: 2
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
Mathematics, 17.03.2021 23:40
question
Mathematics, 17.03.2021 23:40
Questions on the website: 13722360