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
Sati [7]
3 years ago
7

Write a program that prompts the user to enter two characters and display the corresponding major and year status. The first cha

racter indicates the major. And the second character is a number character 1, 2, 3, 4, which indicates whether a student is a freshman, sophomore, junior, or senior. We consider only the following majors:
B (or b): Biology

C (or c): Computer Science

I (or i): Information Technology and Systems

Note that your program needs to let the user know if the major or year is invalid. Also, your program should be case-insensitive: your program should tell "Biology" either user type ‘b’ or ‘B’.

Engineering
1 answer:
lara31 [8.8K]3 years ago
7 0

Answer:

Following is attached the images for source code and the result according to given question.

I hope it will help you a lot!

Explanation:

You might be interested in
You are driving on a road where the speed limit is 35 mph. If you want to make a turn, you must start to signal at least _______
stich3 [128]
I believe it’s D) 20 feet
3 0
3 years ago
Two rods, with masses MA and MB having a coefficient of restitution, e, move along a common line on a surface, figure 2. a) Find
ahrayia [7]

Answer:

A.) Find the answer in the explanation

B.) Ua = 7.33 m/s , Vb = 7.73 m/s

C.) Impulse = 17.6 Ns

D.) 49%

Explanation:

Let Ua = initial velocity of the rod A

Ub = initial velocity of the rod B

Va = final velocity of the rod A

Vb = final velocity of the rod B

Ma = mass of rod A

Mb = mass of rod B

Given that

Ma = 2kg

Mb = 1kg

Ub = 3 m/s

Va = 0

e = restitution coefficient = 0.65

The general expression for the velocities of the two rods after impact will be achieved by considering the conservation of linear momentum.

Please find the attached files for the solution

6 0
3 years ago
5. Name two health problems that fume can cause?<br> a)....<br> b)......
Vlad [161]

Answer:

A) Cancer of the Lungs

B)Larynx and Urinary Tract, as well as nervous system and kidney damage

Explanation:

5 0
3 years ago
Read 2 more answers
Consider the following list. list = {24, 20, 10, 75, 70, 18, 60, 35} Suppose that list is sorted using the insertion sort algori
Greeley [361]

Answer:

Option B

10,20,24,75,70,18,60,35

Explanation:

The first, second and third iteration of the loop will be as follows

insertion sort iteration 1: 20,24,10,75,70,18,60,35

insertion sort iteration 2:10,20,24,75,70,18,60,35

insertion sort iteration 3: 10,20,24,75,70,18,60,35

8 0
3 years ago
I have a 308 bullet stuck in my ak,s mag help?
Assoli18 [71]
Lick the bullet and push it down
3 0
3 years ago
Read 2 more answers
Other questions:
  • The Fibonacci sequence 1, 1, 2, 3, 5, 8, 13, 21…… starts with two 1s, and each term afterward is the sum of its two predecessors
    8·2 answers
  • As the junior engineer at the Mesabi Range Hydraulic Engineering Company located in Ely, Minnesota, you have been tasked with de
    6·1 answer
  • 1000 lb boulder B is resting on a 500 lb platform A when truck C accidentally accelerates to the right (truck in reverse). Which
    15·1 answer
  • 5. A non-cold-worked brass specimen of average grain size 0.01 mm has a yield strength of 150 MPa. Estimate the yield strength o
    10·1 answer
  • Firefighters are holding a nozzle at the end of a hose while trying to extinguish a fire. The nozzle exit diameter is 8 cm, and
    9·1 answer
  • Differentiate between isohyetal method and arithmetical average method of rainfall​
    10·1 answer
  • What is 39483048^349374*3948048/3i4u4
    15·1 answer
  • Please help, Artificial Intelligence class test
    12·1 answer
  • ما سبب نزول الاية
    6·1 answer
  • Why is electricity considered a secondary source of energy
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!