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
3) What kind of bridges direct their load along it's curve and into the
AlladinOne [14]

Explanation:

suspension is the answer

8 0
3 years ago
During an office party, an office worker claims that a can of cold beer on his table warmed up to 20oC by picking up energy from
Contact [7]

Answer:

Yes

Explanation:

As we know that heat transfer take place from high temperature body to low temperature body.

In the given problem ,the temperature of the air is high as compare to the temperature  of can of bear ,so the heat transfer will take place from air to can of bear and at the last stage when temperature of can of bear will become to the temperature of air then heat transfer will be stop.Because temperature of the  both body will become at the same  and this stage is called thermal equilibrium.

So an office worker claim is correct.

4 0
3 years ago
(Signal Property) Under what condition is a discrete-time signal x[????] or a continuous-time signal x(????) periodic? Determine
Cloud [144]

Answer:

a. 2x/3

b. 8

Explanation:

fundamental period can be defined to mean that at after every period of 2π radians or 360° the value of graph is repeated. For such functions the fundamental period is the period after which they repeat themselves.

It van also be looked as The fundamental period of cos(θ) is 2π. That is (for example) cos(0) to cos(2π) represents one full period.

Please see attachment for the step by step solution.

7 0
3 years ago
The Cv factor for a valve is 48. Compute the head loss when 30 GPM of water passes through the valve.
dlinn [17]

Answer:

The head loss in Psi is 0.390625 psi.

Explanation:

Fluid looses energy in the form of head loss. Fluid looses energy in the form of head loss when passes through the valve as well.

Given:

Factor cv is 48.

Flow rate of water is 30 GPM.

GPM means gallon per minute.

Calculation:

Step1

Expression for head loss for the water is given as follows:

c_{v}=\frac{Q}{\sqrt{h}}

Here, cv is valve coefficient, Q is flow rate in GPM and h is head loss is psi.

Step2

Substitute 48 for cv and 30 for Q in above equation as follows:

48=\frac{30}{\sqrt{h}}

{\sqrt{h}}=0.625

h = 0.390625 psi.

Thus, the head loss in Psi is 0.390625 psi.

 

5 0
3 years ago
4. What are these parts commonly called?
patriot [66]

These parts are commonly called carburetor emulsion tubes. These tubes maintain the air-fuel ratio at different speeds.

The carburetor is a device of the combustion engine power supply system that mixes fuel and air in order to facilitate internal combustion.

The carburetor emulsion tubes are tubes that maintain the air-fuel ratio at different velocities.

These tubes (carburetor emulsion tubes) are small brass cylinders where the metering needle slides into them.

Learn more about carburetors here:

brainly.com/question/4237015

7 0
2 years ago
Other questions:
  • A food department is kept at -12 °C by a refrigerator in an environment at 30 °C. The total heat gain to the food department is
    8·1 answer
  • The outer surface temperature of a glass filled with iced water may drop below the dew-point temperature of the surrounding air,
    5·1 answer
  • g A food department is kept at -12oC by a refrigerator in an environment at 30oC. The total heat gain to the food department is
    7·1 answer
  • Suppose you have a Y-connected balanced three-phase load which consumes 200 kW with pf of 0.707 lagging. The line-to-line voltag
    14·1 answer
  • The speed of an aircraft is given to be 260 m/s in air. If the speed of sound at that location is 330 m/s, the flight of the air
    6·1 answer
  • You’re going to write a program that models the Littleton City Lotto (not a real Lotto game). The program is going to allow to u
    6·1 answer
  • Select the answer that shows how the recognition of depreciation expense
    10·1 answer
  • . Which of the following formula is used for calculating current:
    15·1 answer
  • (4 points) What field of work generally requires (a) an engineer to have a Professional Engineer
    11·1 answer
  • <img src="https://tex.z-dn.net/?f=%5Cint%5Climits%5Ea_b%20%7B7x%7D%20%5C%2C%20dx" id="TexFormula1" title="\int\limits^a_b {7x} \
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!