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]
4 years ago
10

Write a program which:

Computers and Technology
1 answer:
Studentka2010 [4]4 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
A plan to budget time for studying and activities is referred to as a study routine. study habits. study skills. a study schedul
vesna_86 [32]

Answer:

A study routine

Explanation:

6 0
3 years ago
Read 2 more answers
What is the database used for
ELEN [110]
Sometimes referred to as database management systems<span>, database software tools are primarily used for storing, modifying, extracting, and searching for information within a database. </span>
7 0
3 years ago
If the current through a heater coil is 5 amp and the supply voltage is 120 volts, the coil resistance is A. 0.04 ohm. B. 24 ohm
Scorpion4ik [409]
V = i.r
120v = 5A x r
Resistance = 120:5 = 24 ohm
7 0
4 years ago
Which stage of the waterfall model is most like the simple model's Stage 5: Write the Code? (Select the best answer.)
4vir4ik [10]

Answer:

HERE ARE THE ACTUALL ANSWERES, and I INCLUDED ALL 15 QUESTIONS WITH ANSWERS(The other dudes are VERY VERY wrong):

1. Implementation

2. System processing requirements

3. Quality Assurance

4. Interactive and incremental development

5. Changes made to a software program's code and who made changes to it<em>(this one he actually had right)</em>

6. The SOW

7. Something that limits your project

8. Proprietary software

9. Dependancy

<em>(The rest of these are the remaining answers to the quiz to the last 5 questions. I got yall!)</em>

10. Stage 2: Think of possible solutions

11. Informal

12. Procedural programming

13. Use Cases

14. Alpha realease

15. Writing program that writes or changes other programs.

Well.  I hope you pass this annoying quiz with a 100%.  I bit the bullet and got 40, but they did give me the actuall answers to every question.  Honestly this course sucks and I can't wait to never programm ever again.  Good luck all!

- Some dude lol

7 0
3 years ago
Two technicians are discussing ASE certification. Technician A says that there are 60-plus exams each designed to discern the au
babunello [35]
TECHNICIAN B is the one who is right. ASE is and acronym for Automotive Service Excellence. ASE is a professional certification group which certified professionals in the automotive repair industry. To qualify to take their test, one must have at least two years on the job experience, because the exam questions are job related. There are 40 plus exams and each is designed to test the professionals' knowledge of job related skills.   
6 0
3 years ago
Read 2 more answers
Other questions:
  • WILL MARK BRAINLIEST IF ANSWERED ASAP
    10·1 answer
  • The text discusses three approaches to combining overall cost leadership and differentiation competitive advantages. Which of th
    10·1 answer
  • Type the correct answer in the box. Spell all words corre ctly.
    15·2 answers
  • Identify the output, input, and any missing information for the following problem. George wants to find out how much extra he wi
    15·1 answer
  • What file system allows you to continue to add files to a CD or DVD disc after the initial burn, as long as there is room on the
    14·1 answer
  • Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te
    13·1 answer
  • Investigar las oportunidades de empleo y el autoempleo dentro del área de la especialidad<br>​
    14·1 answer
  • Look plz help :))))))))))))))))))))
    7·1 answer
  • What practice makes it virtually impossible to figure out the geographic location of a company?
    7·1 answer
  • Give two differences between ergonomic keyboard and standard keyboard?​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!