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
Carbon dioxide steadily flows into a constant pressure heater at 300 K and 100 kPa witha mass flow rate of 9.2 kg/s. Heat transf
docker41 [41]

Answer:

Carbon dioxide temperature at exit is 317.69 K

Carbon dioxide flow rate at heater exit is 20.25 m³/s

Explanation:

Detailed steps are attached below.

8 0
2 years ago
Colonial Adventure Tours calculates the total price of a trip by adding the trip price plus other fees and multiplying the resul
Vilka [71]

Answer:

The following query is used to display TripName. Reservationld, FirstName. LastName and TotalCost of trip by adding the trip price plus other fees and multiplying the result by the number of persons which have number of persons >4.

Query:

SELECT ReservationlD, Trip.TripName. Customer.LastName. Customer.FirstName. (TripPrice+OtherFees) 'NumPersons as TotalCost FROM Reservation, Trip, Customer WHERE NumPersons>4 AND Reservation.TriplD=Trip.TriplD AND

Customer. CustomerNum=Reservation.CustomerNum:

Explanation:

  • Select clause is used to retrieve data from specified database table or relation and returns the data in the form of table.
  • ReservationID. Trip.TripName. Customer.LastName. Customer.FirstName are the column name of table.
  • (TripPrice+OtherFees) 'NumPersons will calculate the total cost of the Trip and stored it into TotalCost column.
  • As clause is used to give new name TotalCost to resultant column.
  • FROM clause specifies one or more table from where records to be retrieved. o Reservation. Trip and Customer are the table name.
  • WHERE clause is used in SQL query to retrieve only those records that satisfy the specified condition

3 0
3 years ago
Incremental software development could be very effectively used for customers who do not have a clear idea about the systems nee
avanturin [10]

<u>Software Development and Client Needs</u>

In Incremental method of software development customers who do not have a basic idea of the development process are being carried along on like other methods that will relegate them to the background until a product is ready.

With this model and structure in place, when softwares/ products are built from several stages e.g prototype, testing, and when new features are added customers are always carried along with their valuable feedback and suggested greatly considered to achieve the customers satisfactions

This model will work well for the customers/clients who does not have a clear idea on the systems needed for their operations.

In summary the incremental model combines features from the waterfall and prototyping model.

For more information on soft ware development process kindly visit

brainly.com/question/20369682

5 0
2 years ago
A 100 ft long steel wire has a cross-sectional area of 0.0144 in.2. When a force of 270 lb is applied to the wire, its length in
blondinia [14]

Answer:

(a) The stress on the steel wire is 19,000 Psi

(b) The strain on the steel wire is 0.00063

(c) The modulus of elasticity of the steel is 30,000,000 Psi

Explanation:

Given;

length of steel wire, L = 100 ft

cross-sectional area, A = 0.0144 in²

applied force, F = 270 lb

extension of the wire, e = 0.75 in

<u>Part (A)</u> The stress on the steel wire;

δ = F/A

   = 270 / 0.0144

δ  = 18750 lb/in² = 19,000 Psi

<u>Part (B)</u> The strain on the steel wire;

σ = e/ L

L = 100 ft = 1200 in

σ = 0.75 / 1200

σ = 0.00063

<u>Part (C)</u> The modulus of elasticity of the steel

E = δ/σ

   = 19,000 / 0.00063

E = 30,000,000 Psi

4 0
3 years ago
Basil is installing a system in Toronto, Ontario where they are wide temperature variations. What is the TD of the system he’s i
marysya [2.9K]
In places with cold winters, space heating systems have a fundamental role in buildings. Without them, indoor temperatures would quickly become unsuitable for human occupancy. The local weather is one of the most important factors when designing a heating system; if two identical buildings are developed in Miami FL and New York City, the heating load will be much higher for the NYC property.

4 0
3 years ago
Other questions:
  • A pressure gage connected to a tank reads 50 psi at a location where the barometric reading is 29.1 inches Hg. Determine the abs
    6·1 answer
  • What are the different branches of engineering involved in manufacturing a general-purpose elevator?
    6·1 answer
  • A pool of contaminated water is lined with a 40 cm thick containment barrier. The contaminant in the pit has a concentration of
    11·1 answer
  • which one of the following appliance parts gets the hardest services? A. Heating elementwhich one of the following appliance par
    10·2 answers
  • Ask a question about your assignment
    8·2 answers
  • PLEASE HELP!<br> I'm in the middle of a test and the teacher didn't go over the material!
    10·1 answer
  • Me ayudas plis noce ​
    14·1 answer
  • Chemical engineers determine how to transport chemicals.<br> O True<br> False
    8·2 answers
  • In-------process the hot drawn bar or rod is pulled through the die.
    7·1 answer
  • Calculate the acceleration of a 2000kg single engine airlane just before take off when the thrust of the engine is 500n?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!