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
almond37 [142]
3 years ago
6

This is a quick and easy program that will let you practice the basics of the switch statement. You will ask the user to enter a

fabric code found on a pair of pants. The fabric code is in the form of . Read the code and then inform the user what material the pants are made out of. Valid user entries are: - 'C' for Cotton - 'L' for Liner - 'P' for Polyester The number is the thread count of the material and must be between 100 and 1000 inclusive. If either the code or the count is invalid print the indicated invalid statement. Prompt: Enter the fabric code found on your pants: Possible Output: Your pants contain cotton with a thread count of 300. Air dry to avoid shrinking! Your pants contain linen with a thread count of 400. They are cool but wrinkle easily! Your pants contain polyester with a thread count of 1000. They are stain resistant! Invalid fabric code. Please run the program again. Notes and Hints: 1) You must use a Switch statement for this 2) You must accept the upper or lowercase version of the letters 3) This is not a trivial excercise, Hand write the algorithm BEFORE you start coding!!
Computers and Technology
1 answer:
Nikolay [14]3 years ago
5 0

Answer:

Explanation:

oof okay

You might be interested in
Compare and contrast system software and generalised software
jekas [21]
System software is a type of computer program that is designed to run a computer’s hardware and application programs.
Generalized software refers to software designed to read, process and write data with the help of functions performing specific audit routines and with self-made macros.
3 0
3 years ago
Não basta tornar-se móvel hoje em dia. Ao se organizar para a implantação de tecnologias no contexto da mobilidade, é preciso fi
Ad libitum [116K]

Answer:

Alternativa 2:

4 - 1 - 3 - 2.

Explanation:

4 0
3 years ago
Images are available in many formats, such as tif, bmp, gif, jpeg, and ____.
Lerok [7]
<span>Images are available in many formats, such as tif, bmp, gif, jpeg, and png.

</span>Hope that helps.
7 0
2 years ago
11.5 Code Practice edhesive
Tatiana [17]

Answer:

<html>

<body>

<p style="text-align:center;color:red;">This is a paragraph.</p>

<p><i> "This text is italic</i></p>

</body>

</html>

Explanation:

I got a 75%. Hope this helps.°ω°

8 0
3 years ago
Read 2 more answers
The organization wants you to avoid situations that make you choose between its overall benefit and your
iren [92.7K]
Personal gain is the answer :))
3 0
3 years ago
Other questions:
  • Attention merchants define
    5·1 answer
  • Which of the following is a Microsoft solution that runs on a Microsoft Terminal Services server but appears, to end users, as i
    10·1 answer
  • Here's a thought: Why does your Brainly ranking keep going down?
    6·2 answers
  • Enum Digits {0, 1};
    10·1 answer
  • The 8-bit ____ field is used by source network hosts and forwarding routers to distinguished classes or priorities in ipv6 packe
    11·1 answer
  • You are troubleshooting a client connectivity problem on an Ethernet network. The client system has intermittent connectivity to
    9·1 answer
  • 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
    11·2 answers
  • Identify and explain 3 methods of automatically formatting documents​
    8·1 answer
  • HELP ASAP, AND YES I KNOW, WRONG CATEGORY. SORRY!
    10·2 answers
  • What is the greatest number of bits you could borrow from the host portion of a class B subnet mask and still have at least 130
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!