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
Which filter gives a “squeezed” effect to an image?
Strike441 [17]
My guess is d but I’m not positive
3 0
3 years ago
Determine whether the compound condition is True or False.
Viktor [21]

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The given compound statement are:

4 < 3 and 5 < 10

4 <3 or 5 < 10

not (5 > 13)

4 < 3 and 5 < 10  this statement is false because "and" logical operator required that both operand (4<3) and (5<10) are true. Statement (4<3) is a false statement so this statement is false. "and" operator becomes true when all its inputs are true otherwise it becomes false.

4 < 3 or 5 < 10  this statement is true because "or" logical operator to be true if one of its input is true and false when all inputs are false. so in this compound statement, the first statement is false and the second statement is true. so this compound statement is true.

not(5>13) this compound statement is true because it has "not" operator and "not" operator makes a false statement to true and vice versa. so (5>13) is a false statement, and when you append "not" operator before it, then this compound statement will become true statement, so this is a true statement.

7 0
2 years ago
Why might information overload be a concern for consumers who use a cell phone app to research a particular purchase? What would
mrs_skeptik [129]

Answer:

Explanation:

Information overload is a term which is utilized to depict the trouble of understanding an issue and adequately settling on choices when one has excessively information about that issue. By and large, the term is related with the exorbitant amount of every day information. Information overload happens when the measure of contribution to a framework surpasses its handling limit. Leaders have genuinely constrained psychological preparing limit. Thus, when information overload happens, almost certainly, a decrease in choice quality will happen. This why it becomes a concern when it is not tackled wisely by not remaining focused.

Well, I would recommend the app developers to avoid the things are as follows:

• Give supporting information. - If a client needs more information, ensure it's to hand for them.

• Make it simple for the client to make a move. - If they have to finish an assignment there and afterward make it open and make it self-evident.

• Clarify what can anyone do the information. - What move should the client make? For what reason should the take it?

• Keep it important. - Information that really addresses the client's issues is more averse to overpower.

• Give adjusted information. - You should introduce the two sides of the coin as opposed to only one.

• Keep things straightforward. - The less information you present – the less demanding it is to get it.

• Keep it clear. - Simplicity and importance are great however information needs clearness to be successful

7 0
3 years ago
This is more a question for Brainly,
Mashutka [201]

Answer:

some questions may require links, however there should be a process that links have to be verified before they show.

Explanation:

8 0
3 years ago
Read 2 more answers
Stream control transmission protocol (sctp) is a new _________ protocol.
Mila [183]
Stream control transmission protocol (sctp) is a new IP transport protocol.
7 0
3 years ago
Other questions:
  • Knowledge flows from the information that has been generated. Which of the following does not necessarily flow from information
    15·1 answer
  • _____ create computer programs by using their knowledge of computer science, math, and other disciplines.
    11·1 answer
  • Jason is creating a web page for his school's basketball team. He just finished creating his storyboard. Which tool should he us
    6·2 answers
  • What is an example of how pseudo - randomness is used to creative variation​
    5·1 answer
  • Using a "word" of 5 bits, list all of the possible signed binary numbers and their decimal equivalents that are represent able i
    12·1 answer
  • When you insert a photo into a document, its placed at the ​
    13·2 answers
  • Abrupt changes in road surface or the shape of the road may indicate
    15·2 answers
  • Which of the following ""invisible"" marks represents an inserted tab?
    10·1 answer
  • The price of an item you want to buy is given in dollars and cents. You pay for it in cash by giving the clerk d dollars and c c
    6·1 answer
  • What vowel(s)!are Missing in the Word= "a b t" ???
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!