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
Hunter-Best [27]
3 years ago
11

Prompt the user to enter five numbers, being five people's weights. Store the numbers in an array of doubles. Output the array's

numbers on one line, each number followed by one space. (2 pts)
Ex:Enter weight 1:236.0Enter weight 2:89.5Enter weight 3:142.0Enter weight 4:166.3Enter weight 5:93.0You entered: 236.000000 89.500000 142.000000 166.300000 93.000000
Engineering
1 answer:
atroni [7]3 years ago
6 0

Answer:

See below in the explanation section the Matlab script to solve the problem.

Explanation:

prompt='enter the first weight w1:  ';

w1=input(prompt);

wd1=double(w1);

prompt='enter the second weight w2:  ';

w2=input(prompt);

wd2=double(w2);

prompt='enter the third weight w3:  ';

w3=input(prompt);

wd3=double(w3);

prompt='enter the fourth weight w4:  ';

w4=input(prompt);

wd4=double(w4);

prompt='enter the first weight w5:  ';

w5=input(prompt);

wd5=double(w5);

x=[wd1 wd2 wd3 wd4 wd5]

format short

You might be interested in
What’s the answer???
Zanzabum
D IS THE ANSWER ❤︎❤︎❤︎spread love and share knowledge
3 0
3 years ago
True or false <br> 19. Closed systems rely on feedback from outside of the system to operate.
Furkat [3]

Answer: True

Explanation: Closed loop relies on feedback from PNS to make modifications in the movement, open loop allows action in the absence of feedback, 2. ... Closed loop can change the initial commands, open loop can not change the initial commands.

6 0
2 years ago
Can you guys please introduce yourself​
EleoNora [17]

Answer: why?

Explanation:

6 0
3 years ago
Read 2 more answers
What engine does the Mercedes 400e have?
Verdich [7]

Answer:

4.2 m119

Explanation:

it has the 4.2 m119 v8 engine with a top speed of 155 mph and 0 - 60 mph in 6.2 seconds

4 0
3 years ago
The B-pillar may also be called the:
slega [8]

Answer:

if you're talking about the car b-post, the answer is "posts"

Explanation:

looked it up

6 0
2 years ago
Other questions:
  • A tank contains liquid nitrogen at -190℃ is suspended in a vacuum shell by three stainless steel rods 0.80 cm in diameter and 3
    8·1 answer
  • Practice Problem: Large-Particle CompositesThe mechanical properties of a metal may be improved by incorporating fine particles
    5·1 answer
  • If a building is too humid, what harmful substance may be stored there?
    13·2 answers
  • What gage pressure does a skin diver experience when they dive to 35 ft in the ocean with a water temperature of 55 °F? Report y
    9·1 answer
  • In Florida a curb indicates and area where parking is prohibited
    15·2 answers
  • How to build a laser pointer?
    12·1 answer
  • Give five examples of
    14·1 answer
  • In an RL parallel circuit, VT = 240 V, R = 330 Ω, and XL = 420 Ω. What is the Apparent Power (VA)?
    9·1 answer
  • A 1020 Cold-Drawn steel shaft is to transmit 20 hp while rotating at 1750 rpm. Calculate the transmitted torque in lbs. in. Igno
    6·1 answer
  • Use the map to answer the question.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!