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
Consider a very long, slender rod. One end of the rod is attached to a base surface maintained at Tb, while the surface of the r
9966 [12]

Answer:

(a) Calculate the rod base temperature (°C). = 299.86°C

(b) Determine the rod length (mm) for the case where the ratio of the heat transfer from a finite length fin to the heat transfer from a very long fin under the same conditions is 99 percent.  = 0.4325m

Explanation:

see attached file below

3 0
3 years ago
Match the description with the term. I need help
mel-nik [20]

Answer:

cultivation - preparing and planting crops

domestication - capturing, taming, and breeding animals

hunting and gathering - obtaining food from the wild

Explanation:

moo

6 0
3 years ago
Water vapor at 5 bar, 320°C enters a turbine operating at steady state with a volumetric flow rate of 0.65 m3/s and expands adia
harina [27]

Answer:

Power = 371.28 kW

Explanation:

Initial pressure, P1 = 5 bar

Final pressure, P2 = 1 bar

Initial temperature, T1 = 320°C

Final temperature, T2 = 160°C

Volume flow rate, V = 0.65m³/s

From steam tables at state 1,

h1 = 3105.6 kJ/kg, s1 = 7.5308 kJ/kgK

v1 = 0.5416 m³/kg

Mass flow rate, m = V/v1

m = 1.2 kg/s

From steam tables, at state 2

h2 = 2796.2 kJ/kg, s2 = 7.6597 kJ/kgK

Power developed, P = m(h1 - h2)

P = 1.2(3105.6-2796.2)

P = 371.28 kW

8 0
3 years ago
Which of the following are considered software piracy? Check all of the boxes that apply.
Serga [27]

Answer:

The answer is copying a program to give to someone else to use

and burning a copy of a DVD to sell

Explanation:

Software piracy is the act of stealing software that is legally protected. This stealing includes copying, distributing, modifying or selling

7 0
3 years ago
The ice on the rear window of an automobile is defrosted by attaching a thin, transparent, film type heating element to its inne
pshichka [43]

Answer:

A)Q = 1208.33 W/m²

B)K = 0.138 W/m.K

Explanation:

We are given;

inside air temperature;T_∞,i =25 °C = 25 + 273 = 298K

outside air temperature;T_∞,o = -10°C = - 10 + 273 = 263K

Inner surface temperature;T_s,i = 15 °C = 15 + 273 = 288K

Thickness, L = 4mm = 0.004m

convection heat transfer coefficient ; hi = 25 W/(m².K)

A) From an energy balance at the inner surface and the thermal circuit, the electric power required per unit window area is given as;

Q = [(T_s,i - T_∞,o)/((L/k) + (1/hi))] - [(T_∞,o - T_s,i)/(1/hi)]

Plugging in the relevant values with k for glass as 1.4 W/m.k, we have;

Q = [(288 - 263)/((0.004/1.4) + (1/25))] - [(263 - 288)/(1/25)]

Q = 583.33 + 625

Q = 1208.33 W/m²

B) The formula for thermal conductivity is;

K = (QL)/(AΔT)

Where;

K is the thermal conductivity in W/m.K

Q is the amount of heat transferred through the material

L is the distance between the two isothermal planes

A is the area of the surface in square meters

ΔT is the difference in temperature in Kelvin

ΔT = 298K - 263K = 35K

Now, since we have value of heat per unit area to be Q = 1208.33 W/m², let's rearrange the equation to reflect that; Thus ;

k = (Q/A) x (L/ΔT)

K = 1208.33 x (0.004/35)

K = 0.138 W/m.K

5 0
3 years ago
Other questions:
  • 1) Relative to electrons and electron states, what does each of the four quantum numbers specify?
    10·1 answer
  • What is the steady-state value of the output of a system with transfer function G(s)= 6/(12s+3), subject to a unit-step input?
    5·1 answer
  • For the system form of the basic laws, the momentum of a system can change as a result of: a. pressure acting on the system. b.
    14·2 answers
  • A typical aircraft fuselage structure would be capable of carrying torsion moment. a)True b)- False
    12·1 answer
  • What forced induction device is more efficient?
    8·2 answers
  • I know this answer i just want too see if people know it too
    9·2 answers
  • Hi,I want to know something.
    13·1 answer
  • What is the physical mechanism that causes the friction factor to be higher in turbulent flow?
    13·1 answer
  • A liquid jet vj of diameter dj strikes a fixed cone and deflects back as a conical sheet at the same velocity. find the cone ang
    7·1 answer
  • which of the following is not a general education elective area? group of answer choices humanities/fine arts social/behavioral
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!