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
dalvyx [7]
3 years ago
8

You are making a program for a bus service. A bus can transport 50 passengers at once. Given the number of passengers waiting in

the bus station as input, you need to calculate and output how many empty seats the last bus wil have.
​
Engineering
1 answer:
g100num [7]3 years ago
7 0
#include
using namespace std;

int main()
{
int passengers;
cout << "";
cin >> passengers ;

int left_passengers= passengers % 50;

if(left_passengers == 0){

cout << "0 seats left";
}
else{
int left_seats= 50 - left_passengers;

cout << left_seats;
cout << "";
}

return 0;
}
You might be interested in
T
solniwko [45]

Answer:

Common Uses: Boxwood is well-suited for carving and turning, and the tree's diminutive size restricts it to smaller projects. Some common uses for Boxwood include: carvings, chess pieces, musical instruments (flutes, recorders, woodwinds, etc.), rulers, handles, turned objects, and other small specialty items.If you want a small, compact, low-growing shrub to form a hedge that serves as an accent or border along your walkway, fence line or planting beds, dwarf boxwood varieties are the best pick. The "Dwarf English" boxwood (Buxus sempervirens “Suffruticosa”) creates a border hedge approximately 1 to 2 feet in height.

Explanation:

3 0
3 years ago
Which of the following is the LEAST-Likely cause of tire wear? A) Underinflation B) Braking C) Acceleration D) Tire rotation
mihalych1998 [28]

Answer:

Tire rotation is the least likely cause of tire wear. So, the option D is correct.

Explanation:

Step1

Under-inflation is the process of tire failure under low pressure. This contributes the wear on tire.

Step2

On breaking, kinetic energy changes to heat energy because of rubbing of tire. So, rubbing action increases the wear on the tire.

Step3

Acceleration on the vehicle increases the rubbing action as well as the wear and tear on the tire. So, acceleration is an also a major cause of tire wear.

Step4

Tire rotation has least amount of wear and tear due to no rubbing action.  It has less amount surface contact with the surface in rotation.  

Thus, tire rotation is the least likely cause of tire wear. So, the option D is correct.  

4 0
3 years ago
Discuss in three points The old stone age
klasskru [66]

Answer:

Explanation:

<em>Early Stone Age</em>, or Paleolithic, <em>middle</em> and <em>Late Stone Age</em>, or Neolithic

Copper Age or Bronze Age also are part of the stone age

7 0
3 years ago
Read 2 more answers
What do you push to answer a question in Brainly?
ahrayia [7]

you click the question then it says answer question then u answer it

4 0
3 years ago
Read 2 more answers
A gas stream flowing at 1000 cfm with a particulate loading of 400 gr/ft3 discharges from a certain industrial plant through an
Makovka662 [10]

<u>Solution and Explanation:</u>

Volume of gas stream = 1000 cfm (Cubic Feet per Minute)

Particulate loading = 400 gr/ft3 (Grain/cubic feet)

1 gr/ft3 = 0.00220462 lb/ft3

Total weight of particulate matter = 1000 \mathrm{cfm} \times 400 \mathrm{gr} / \mathrm{tt} 3 \times .000142857 \mathrm{lb} / \mathrm{ft} 3 \times 60=3428.568 \mathrm{lb} / \mathrm{hr}

Cyclone is to 80 % efficient

So particulate remaining = 0.20 \times 3428.568 \mathrm{lb} / \mathrm{hr}=685.7136

emissions from this stack be limited to = 10.0 lb/hr

Particles to be remaining after wet scrubber = 10.0 lb/hr

So particles to be removed = 685.7136- 10 = 675.7136

Efficiency = output multiply with 100/input = 98.542 %

4 0
3 years ago
Other questions:
  • Which of the following is important in career planing
    5·1 answer
  • During an unsteady-flow process, the amount of mass and energy entering a control volume must be equal to the amount of mass and
    14·2 answers
  • What is the non-linearity error, as a percentage of full range, produced when a 1K Ω potentiometer has a load of 10KΩ &amp; is a
    15·1 answer
  • How to improve the speed of train passing through turnout​
    9·1 answer
  • H2O enters a conical nozzle, operates at a steady state, at 2 MPa, 300 oC, with the inlet velocity 30 m/s and the mass flow rate
    15·1 answer
  • COMO ES LA MADERA CUANDO LA TIERRA ES HUMEDA
    7·2 answers
  • The components of your sample mixture are present in trace amounts. Assuming that you will be using GC, what kind of sample intr
    9·1 answer
  • List 6 different mechanisms in the Rube Goldberg cartoon and predict the purpose of each. Does the mechanism change speed, force
    11·1 answer
  • Why did you choose agricultural and biosystem as a course? Help me guys
    10·1 answer
  • The first thing you should do is develop a ____________________ to determine what vehicle you can afford.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!