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
Prove that "a perfect conductor cannot contain an electrostatic field within it".​
Harlamova29_29 [7]

Answer:

The proof is below

Explanation:

The net electric charge of a conductor resides entirely on its surface. (The mutual repulsion of like charges from Coulomb's Law demands that the charges be as far apart as possible, hence on the surface of the conductor.) The electric field inside the conductor is zero.

When two parallel plates one having the positive charge and the other having the negative charge, then the electric field will generate from positive to the negative direction.

When a conductor is placed between the two parallel plates:

The conductor has large number of electrons and holes are also produced by the electrons movement.

If the electric field is applied, the positive charge plate will attracts the electrons (negatively charged) from the conductor on the 1 side and the negative charged plate will attract holes.

On opposite side, the conductor will induce the positive and the negative charge and it will create the electric field inside it and the magnitude of this field is equal and the opposite to the electric field applied.

7 0
3 years ago
Hi, everyone I'm a high school student in Texas. My engineering teacher is asking us to find an active engineer to complete a li
jenyasd209 [6]

Answer:ill look it up

Explanation:

6 0
3 years ago
A rotating cup viscometer has an inner cylinder diameter of 2.00 in., and the gap between cups is 0.2 in. The inner cylinder len
Lesechka [4]

Answer:

The dynamic viscosity and kinematic viscosity are 1.3374\times 10^{-6} lb-s/in2 and 1.4012\times 10^{-3} in2/s.

Explanation:

Step1

Given:

Inner diameter is 2.00 in.

Gap between cups is 0.2 in.

Length of the cylinder is 2.5 in.

Rotation of cylinder is 10 rev/min.

Torque is 0.00011 in-lbf.

Density of the fluid is 850 kg/m3 or 0.00095444 slog/in³.

Step2

Calculation:

Tangential force is calculated as follows:

T= Fr

0.00011 = F\times(\frac{2}{2})

F = 0.00011 lb.

Step3

Tangential velocity is calculated as follows:

V=\omega r

V=(\frac{2\pi N}{60})r

V=(\frac{2\pi \times10}{60})\times1

V=1.0472 in/s.

Step4

Apply Newton’s law of viscosity for dynamic viscosity as follows:

F=\mu A\frac{V}{y}

F=\mu (\pi dl)\frac{V}{y}

0.00011=\mu (\pi\times2\times2.5)\frac{1.0472}{0.2}

\mu =1.3374\times 10^{-6}lb-s/in².

Step5  

Kinematic viscosity is calculated as follows:

\upsilon=\frac{\mu}{\rho}

\upsilon=\frac{1.3374\times 10^{-6}}{0.00095444}

\upsilon=1.4012\times 10^{-3} in2/s.

Thus, the dynamic viscosity and kinematic viscosity are 1.3374\times 10^{-6} lb-s/in2 and 1.4012\times 10^{-3} in2/s.

4 0
4 years ago
Write down the types of the Hydraulic Cylinders?
nirvana33 [79]

Answer:

There are following type of hydraulic cylinders

1.Single acting

2.Double acting

3.Single acting spring loaded

4.Non differential type

5.Ram type

6.Piston type

7.Actuating type

8.Telescopic type

4 0
4 years ago
Blank is common during exercise.
dsp73

Answer:

Sweat

Explanation:

As you exercise you respire and warm up due to energy. In turn, two things happen, blood vessels vasodilate (irrelevant to you) and sweat glands sweat more. this sweat then evaporates and cools down the body.

7 0
2 years ago
Other questions:
  • Which of the following statements is true? Entropy has the unit of (A) Heat (B) Work (C) Energy (D) Heat capacity (E) Temperatur
    13·1 answer
  • A Type I muscle fibers have an average diameter of 98 µm, and can exert a compressive load of 532 µN[1]. If they are modeled as
    11·1 answer
  • What is one disadvantage of analog recording?
    7·1 answer
  • Air enters a compressor operating at steady state at 1.05 bar, 300 K, with a volumetric flow rate of 39 m3/min and exits at 12 b
    6·1 answer
  • A horizontal curve on a two lane highway (one lane per direction) has its PC at station 123+70 and its PI at station 130+90. The
    6·1 answer
  • an aluminum bar 125mm (5in) long and having a square cross section 16.5mm (.65in) on an edge is pulled in tension with a load of
    6·1 answer
  • Ighihrhffhnyhdytyfntvbjntiytkufbyuygyh
    5·2 answers
  • What is 395394^8739/980
    8·1 answer
  • 13. The members installed vertically over and under a window opening are called
    9·1 answer
  • Select the correct answer from each drop-down menu.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!