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
Tcecarenko [31]
4 years ago
11

Given the variables costOfBusRental and maxBusRiders of type int , write an expression corresponding to the cost per rider (assu

ming the bus is full). (Do not worry about any fractional part of the expression-- let integer arithmetic, with truncation, act here.)
Computers and Technology
1 answer:
Liono4ka [1.6K]4 years ago
7 0

Answer:

       int costOfBusRental;

       int maxBusRiders;

       int costPerRider;

       costPerRider = costOfBusRental/maxBusRiders;

Explanation:

The costPerRider is the total cost of renting the bus (costofBusRental) divided by all the bus users (maxBusRiders). So we declare the three variables to be of type int as required by the question.

You might be interested in
Name the box where the name of the first cell of the selected range appears?
sergey [27]

Answer:

Name box

Explanation:

From the picture, the name box is at the top left corner with B1 written inside, here B1 is written because it is the active cell at the time which also happens to be the first cell of the selected range. The name box can be used to easily create a named ranges rather Than having to draw the mouse over a group of cells. It also helps to know which cell is the current active cell as the cell address in the name box is the active cell at any point in time.

4 0
3 years ago
Vinton cerf has been called one of main fathers of the internet. what internet organizations did he chair or help found? what in
Strike441 [17]
<span>He served from 2000-2007 as chairman of the board of the Internet Corporation for Assigned Names and Numbers (ICANN), an organization he helped form. </span>Cerf<span> is the co-designer of the TCP/IP protocols and the architecture of the </span>Internet<span>.</span>
5 0
3 years ago
Which of these is NOT a benefit of trade?
Natasha_Volkova [10]

Answer:

<em>Creation of Dependencies</em> is not the only benefit of trade in the list.

Explanation:

People can provide the access to their resource with the help of trading, it will also increase the satisfaction of customer as he will be able to buy the product of his own choice with satisfactory price, as it breaks the monopoly of local producers.

There many disadvantages of the trade, such as it will create dependencies on other countries and local producers not be able to produce that products, this will lead to increase in imports and will increase the trade deficit of the country.

8 0
3 years ago
An example of financial irresponsibility
Nady [450]

An example of financial irresponsibility is driving without car insurance. The other options are examples of financial responsibility.

3 0
3 years ago
.Like a loop, a recursive method must have some way to control the number of times it repeats itself? (true, false)
Nataly_w [17]

Answer:

True.

Explanation:

In a recursive method, method call itself.If there is no control statement then it will call itself for infinite time.To prevent this we need to create a base/ termination  condition in the recursive method. So that when it meets the base/termination condition, method will stop calling itself.

Here is an example of controlled recursive method :

void dig(int n)

{

// base condition to stop calling itself

  if(n==0)

  return;

 

  else

   {

       cout<<n%10<<" ";

       // function will itself until it meets the base condition

       // recursive call

       rdig(n/10);

   }

}

this method to print the digits of a number in revers order.first it will  print the last digit and update the number as num/10. this will repeat until num become 0. When it reaches the base condition it will stop calling itself and returned.

3 0
3 years ago
Other questions:
  • Which statement is true? Group of answer choices Variables cannot be assigned and declared in the same statement Variable names
    5·1 answer
  • Write a statement to add the key Tesla with value USA to car_makers. Modify the car maker of Fiat to Italy. Sample output for th
    9·1 answer
  • A word processing program would probably be used to: 
    8·1 answer
  • Alright, so im currently trying to pass a computer science class. i need it done in a little under 2 weeks. Ill just ask the one
    5·1 answer
  • If Chris has a car liability insurance, what damage would he be covered for
    10·1 answer
  • What do you think was the immediate effect of the introduction of handheld consoles and video games?
    6·1 answer
  • Use the dropdown menus to complete the sentences about Live Preview and the Mini Toolbar Live Preview is a convenient way to see
    15·2 answers
  • I just wanna know how many times a day y'all hit the tutor button at the bottom
    10·2 answers
  • In his article, “How to Publish Without Perishing,” what does James Gleick believe most people do when they really read a book?
    6·2 answers
  • Describe who was Alan Turing in 100 words.<br> First to answer will get brainliest.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!