1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
gtnhenbr [62]
3 years ago
10

Write a program which:

Computers and Technology
1 answer:
Studentka2010 [4]3 years ago
3 0

Answer:

Ill do this in C# and Java

Explanation:

C#:

public static void Main(string[] args)

       {

           string input = Console.ReadLine();

               switch (input)

               {

                   case "A1":

                       Console.WriteLine("Footwear:");

                       Console.WriteLine("Shoes");

                       break;

                   case "B1":

                       Console.WriteLine("Tops:");

                       Console.WriteLine("Jackets");

                       break;

                   case "C1":

                       Console.WriteLine("Pants:");

                       Console.WriteLine("Trousers");

                       break;

                   case "A2":

                       Console.WriteLine("Footwear:");

                       Console.WriteLine("Trainers");

                       break;

                   case "B2":

                       Console.WriteLine("Tops:");

                       Console.WriteLine("TShirts");

                       break;

                   case "C2":

                       Console.WriteLine("Pants:");

                       Console.WriteLine("Shorts");

                       break;

                   default:

                       Console.WriteLine("Incorrect Input");

                       break;

               }

       }

Java:

public static void main(String[] args)

   {

       Scanner myObj = new Scanner(System.in);  // Create a Scanner object

       String input = myObj.nextLine();

       {

           switch (input)

               {

                   case "A1":

                       System.out.println("Footwear:");

                       System.out.println("Shoes");

                       break;

                   case "B1":

                       System.out.println("Tops:");

                       System.out.println("Jackets");

                       break;

                   case "C1":

                       System.out.println("Pants:");

                       System.out.println("Trousers");

                       break;

                   case "A2":

                       System.out.println("Footwear:");

                       System.out.println("Trainers");

                       break;

                   case "B2":

                       System.out.println("Tops:");

                       System.out.println("TShirts");

                       break;

                   case "C2":

                       System.out.println("Pants:");

                       System.out.println("Shorts");

                       break;

                   default:

                       System.out.println("Incorrect Input");

                       break;

               }

       }

You might be interested in
What is the maximum number of fonts that should be used on a slide?
AlexFokin [52]
In my opinion maximum two different fonts is enough. If you have to explain a concept it's quite horrible to see a lot of fonts in the same slide.
4 0
3 years ago
The purpose of a capacitor unit in a vacuum cleaner is to
krek1111 [17]
I'm currently on this section, so I'll provide you with some help. In the appliance study guide on page 64 it states. "A capacitor may be used in a circuit to help remove radio frequency interference."

So the answer in-fact should be A.


8 0
3 years ago
Linda is viewing the campaign report in her Google Ads account after successfully implementing conversion tracking tags for her
ElenaW [278]

Answer:

Option 1 and Option 3 are correct.

Explanation:

Linda is reading the promotion update through her google advertising profile while effectively installing transformation monitoring attributes to her site. She considers at least two with her advertisements have produced more than Hundred View-through transitions.

However, anyone viewing close until 30 seconds of such advertisements then anyone checking on such a portion of such advertising via View-through transformations.

4 0
3 years ago
Module 1 and 2 Coding Guided Notes Fill in your answers to each response as you read through the lesson pages in the coding cour
creativ13 [48]

Answer:

Code; code; program.

Explanation:

1. Instructions for computers to solve a problem is known as code. Computer code is how humans and machines talk to each other. Some examples of programming language used to write a code in instructing a computer for the execution of a task are python, Java, Javascript, ruby, c++, c# etc.

2. Learning to code or write a program allows for a solution to a problem.

4 0
3 years ago
Read 2 more answers
The ability to understand a person's needs or intentions in the workplace is demonstrating
DochEvi [55]

Answer:

perception i do believe is the answer

4 0
3 years ago
Other questions:
  • The two variables causing the point of difference between the time codes are the frequency and the count
    6·1 answer
  • Which skill refers to the ability to visualize and implement possible business solutions to problems?
    6·1 answer
  • What command prompts should be used to assign an IP address to:
    9·1 answer
  • Print a countdown from n to 1 The function below takes one parameter: an integer (begin). Complete the function so that it print
    8·1 answer
  • ***Help ***Which Paste Command is used to insert a new linked Excel worksheet into a PowerPoint presentation? A. Embed B. Use De
    7·1 answer
  • Students who respond promptly to e-mails are following which netiquette rule?
    13·2 answers
  • Which command allows d1 to configure an ip address on one of its physical interfaces?
    9·1 answer
  • What is the output of the following program? If there is any problem, how can
    13·1 answer
  • What is a thoughtware​
    7·1 answer
  • A _____ standard describes the requirements for obtaining a domain name for use by external parties?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!