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]
4 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]4 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
Race cars at the Indianapolis Speedway average speeds of 185 mi/h. After determining the altitude of Indianapolis, find the Mach
denis23 [38]

Answer:

- the Mach number is 0.24.

- Compressibility becomes effective when Mach number is greater than 0.3, the Mach number of the race cars is less than 0.3, hence, compressibility will not affect their aerodynamics.

Explanation:

Given the data in the question;

Average speed V = 185 miles per hour = ( 185 /2.237 ) m/s = 82.7 m/s

From Almanac, we can find that Indianapolis is at 220 m altitude.

So from table, at that altitude, the standard speed of sound will be 339.4 m/s .

Mach number of the race car will be;

Mach Number = Velocity / sound speed

we substitute

Mach Number = ( 82.7 m/s ) / ( 339.4 m/s )

Mach Number = 0.24

Therefore the Mach number is 0.24.

We know that, compressibility becomes effective when the Mach number is greater than 0.3.

Since the Mach number of the race cars is less than 0.3, compressibility will not affect their aerodynamics.

 

8 0
3 years ago
Do NOT mix ____________________ with used oil. A) Transmission oilB) AntifreezeC) Hydraulic fluidsD) Synthetic oil
Scorpion4ik [409]
Do not mix Antifreeze with used oil
6 0
3 years ago
The occupants of a remote village rely exclusively on a single micro hydro facility for all of their electricity needs. The hydr
nordsb [41]

Answer:

In summer the power available is 357.55 kW and in winter the power available is 59.59 kW

Explanation:

Given data:

height = 1500 ft = 457.2 m

30 gallon = 0.114 m³

5 gallon = 0.019 m³

In summer the power available is:

P=\mu \rho ghQ

Where

μ = efficiency = 0.7

ρ = density of water = 1000 kg/m³

g = gravity = 9.8 m/s²

Q = 0.114 m³

Replacing:

P=0.7*1000*9.8*457.2*0.114=3.575x10^{5} W=357.55kW

In winter the power available is

P=0.7*1000*9.8*457.2*0.019=59591.45W=59.59kW

6 0
3 years ago
Choose the person who best completes each statement.
victus00 [196]

The exercise is about finding the missing medical terms from the list below.. See the sentences below for the missing words.

<h3>What are the completed sentences?</h3>

  • The outbreak and spread of epidemic diseases, such as swine flu, are tracked by a <u>Public Health Surveillance Team.</u>
  • The person who would use equipment to show an image of a baby before birth is a <u>Diagnostic Medical Sonographer.</u>
  • The education to become a <u>Medical Practitioner</u> requires more than four years of college.
  • When a water source becomes contaminated with an illness-causing bacteria, a <u>Microbiologist</u> could be brought in to study how to get rid of the microorganisms.

Learn more about medical terms at;
brainly.com/question/759368
#SPJ1

7 0
2 years ago
Read 2 more answers
You are watching the weather forecast and the weatherman says that strong thunderstorms and possible tornadoes are likely to for
WITCHER [35]

Explanation:

bad weather usually form when low pressure pushed high pressure ot the way.

5 0
4 years ago
Other questions:
  • 2. When manipulating your pedals, you should use your
    7·2 answers
  • In order to avoid slipping in the shop, your footwear should __
    10·2 answers
  • Which two is right about febuary 14
    7·2 answers
  • You are asked by your college crew to estimate the skin friction drag in their eight-seat racing shell. The hull of the shell ma
    5·1 answer
  • Determine whether the following changes cause short-run aggregate supply curve to shift to the right, shift to the left, or rema
    9·1 answer
  • The Republican National Committee publishes a monthly digest of information for Republicans called .
    15·1 answer
  • Using the Rayleigh criterion, calculate the minimum feature size that can be resolved in a system with a 0.18 NA lens when g-lin
    13·1 answer
  • Select the correct answer.
    6·1 answer
  • What are the causes and solutions of social problems ?what are the causes and solutions of social problems ​
    15·1 answer
  • 12 inches is equivalent to_ foot.<br><br>A. 1<br>B. 12<br>C. 24<br>D. 36<br>​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!