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
A work element in a manual assembly task consists of the following MTM-1 elements: (1) R16C, (2) G4A, (3) M10B5, (4) RL1, (5) R1
ella [17]

Answer:

a)

1) R16C ; Tn = 17 TMU

2) G4A ; Tn = 7.3 TMU

3) M10B5 ; Tn = 15.1 TMU

4) RL1 ; Tn = 2 TMU

5) R14B ; Tn = 14.4 TMU

6) G1B ; Tn = 3.5 TMU

7) M8C3 ; Tn = 14.7 TMU

8) P1NSE ; Tn = 10.4 TMU

9) RL1 ; Tn = 2 TMU

b) 3.1 secs

Explanation:

a) Determine the normal times in TMUs for these motion elements

1) R16C ; Tn = 17 TMU

2) G4A ; Tn = 7.3 TMU

3) M10B5 ; Tn = 15.1 TMU

4) RL1 ; Tn = 2 TMU

5) R14B ; Tn = 14.4 TMU

6) G1B ; Tn = 3.5 TMU

7) M8C3 ; Tn = 14.7 TMU

8) P1NSE ; Tn = 10.4 TMU

9) RL1 ; Tn = 2 TMU

b ) Determine the total time for this work element in seconds

first we have to determine the total TMU = ∑ TMU = 86.4 TMU

note ; 1 TMU = 0.036 seconds

hence the total time for the work in seconds = 86.4 * 0.036 = 3.1 seconds

7 0
2 years ago
What could be used as another word for electrical potential?
Marat540 [252]

Answer: C. Voltage

Explanation:

Here are some other words as well.

potential, voltage, potential drop, potential difference.

Answered by the ONE & ONLY #QUEEN aka #DRIPPQUEENMO!!!

HOPE THIS HELPED!!!

6 0
2 years ago
A plate (A-C) is connected to steelflat bars by pinsat A and B. Member A-E consists of two 6mm by 25mm parallel flat bars. At C,
juin [17]

Answer:

stress_ac = 5.333 MPa

shear stress_c = 1.763 MPa

Explanation:

Given:

- The missing figure is in the attachment.

- The dimensions of member AC = ( 6 x 25 ) mm x 2

- The diameter of the pin d = 19 mm

- Load at point A is P = 2 kN

Find:

-  Find the axial stress in AE and the shear stress in pin C.

Solution:

- The stress in member AE can be calculated using component of force P along the member AE  as follows:

                                    stress_ac = P*cos(Q) / A_ae

Where, Angle Q: A_E_B   and A_ac: cross sectional area of member AE.

                                    cos(Q) = 4 / 5   ..... From figure ( trigonometry )

                                    A_ae = 0.006*0.025*2 = 3*10^-4 m^2

Hence,

                                    stress_ae = 2*(4/5) / 3*10^-4

                                    stress_ae = 5.333 MPa

- The force at pin C can be evaluated by taking moments about C equal zero:

                                   (M)_c = P*6 - F_eb*3

                                      0 = P*6 - F_eb*3

                                      F_eb = 0.5*P

- Sum of horizontal forces for member AC is zero:

                                      P - F_eb - F_c = 0

                                      F_c = 0.5*P

- The shear stress of double shear bolt is given by an expression:

                                     shear stress = shear force / 2*A_pin

Where, The area of the pin C is:

                                     A_pin = pi*d^2 / 4

                                     A_pin = pi*0.019^2 / 4 = 2.8353*10^-4 m^2

Hence,

                                     shear stress = 0.5*P / 2*A_pin

                                     shear stress = 0.5*2 / 2*2.8353*10^-4

                                    shear stress = 1.763 MPa

7 0
3 years ago
A controlled process is described by the closed-loop transfer function G(s).
MissTica

Answer:

The answer is "Option B".

Explanation:

Given equation:

G(s) =\frac{K(s + 1)}{2s^2 + (K-1)s + (K-1)}\\\\

if

\to 2s^2 + (K-1)s + (K-1)=0

Calculating by the Routh's Hurwitz table:

\to s^2  \ \ \ \ \    2  \ \ \ \ \ \  K-1 \\\\\to s^2  \ \ \ \ \    K-1  \ \ \ \ \ \   \\\\\to s^0 \ \  ( \frac{(K-1)(K-1)(-2) (0)}{K-1}  \\\\    \ \ \ \  = (K-1) )

Form the above table:

\to K-1 > 0 \\\\ \to K > 1

In the above, the value of k is greater than 1.

3 0
3 years ago
Hello, I want to introduce you to our hosting - VPSDOM
Solnce55 [7]

Answer:

pogchamp

Explanation:

sussy balls

4 0
2 years ago
Other questions:
  • Fluid power is a. The technology that deals with the generation, control, and transmission of power-using pressurized fluids b.
    6·1 answer
  • (8 points) Consider casting a concrete driveway 40 feet long, 12 feet wide and 6 in. thick. The proportions of the mix by weight
    8·1 answer
  • WHO EVER COMMENTS FIRST GETS BRAINLIEST LOL
    15·2 answers
  • I need solution for this question ​
    10·1 answer
  • A geothermal heat pump absorbs 15 KJ/s of heat from the Earth 15 m below a house. This heat pump uses a 7.45 kJ/s compressor.
    5·2 answers
  • Is microwave man made
    5·2 answers
  • Given a 12-bit A/D converter operating over a voltage range from ????5 V to 5 V, how much does the input voltage have to change,
    13·1 answer
  • Before turning in a test, it would be best to
    6·2 answers
  • El protozoos es del reino protista?
    14·2 answers
  • What is a splitter gearbox​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!