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
Which directive is used when defining 64-bit IEEE long reals?
Taya2010 [7]

Answer:

The answer is "Option b".

Explanation:

In the project of IEEE-754 to define 64 -bit we require a REAL8 double precision that is equal to 8 bytes and 64 bit, and it is also used for floating-point arithmetic, and other options were not correct that can be described as follows:

  • In option a, REAL4 is used to define 32-bit, that's why it is not correct.
  • In option c, This type of declaration is not valid in IEEE, that's why it is wrong.
  • In option d, The REAL is a keyword that is used to define a value but in this, there is no value to define, that's why it is wrong.

7 0
3 years ago
James added a new video card and needs to get a power supply that will have enough power to run the new card. When researching t
Shtirlitz [24]

Answer:

the voltage it will need to give and take

Explanation:

it all depends on the amount of voltage the video card requires say the video card requires 150v you would have to buy a power supply that would be able to support that and all the other parts so you would buy a 550v power supply

3 0
3 years ago
A _______ record is responsible for resolving an IP to a domain name.
lianna [129]
An "Address" record also know as "host" record
3 0
3 years ago
Read 2 more answers
What is output by the following code segment? int x = 11; int y = 11; if (x != y ) { System.out.print("one"); } else if (x >
meriva

The output will be four because y and x are equal and that satisfies the condition for the else if statement that prints out four.

3 0
3 years ago
Does anyone have a rbx account? If they do friend request Tribalchief777
Mila [183]

Answer:

ok, no because this site is for hw

Explanation:

8 0
3 years ago
Other questions:
  • A Chief Information Officer (CIO) recently saw on the news that a significant security flaws exists with a specific version of a
    5·1 answer
  • Which of the following statements is true according to the code?
    12·1 answer
  • Amanda needs to create an informative print brochure for her local library’s fundraiser dinner. What critical detail must she ha
    14·2 answers
  • What is the outside of an iPhone called?
    9·2 answers
  • Which of the following circuits has an equivalent resistance of 30 Ω?
    8·2 answers
  • The strategy in which you periodically look away from the text and ask yourself about the material is called the
    8·2 answers
  • A gui allows you to interact with objects on the screen such as icons and buttons true or false
    7·1 answer
  • Question is attached as image, please help :>
    15·1 answer
  • Suppose the size of process is 10000 bytes and the relocation register is loaded with value 5000 which of the following memory a
    15·1 answer
  • Help me code game plz just comment below for more info
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!