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
blagie [28]
3 years ago
9

A car with a 20-gallon gas tank averages 23.5 miles per gallon when driven in town and 28.9 miles per gallon when driven on the

highway. write a program that calculates and displays the distance the car can travel on one tank of gas when driven in town and when driven on the highway
Computers and Technology
1 answer:
katovenus [111]3 years ago
5 0
Highway: 
<span>cout << "The car can drive " << 20*26.8 << " miles on the highway." << endl; </span>
<span>Town: </span>
<span>cout << "The car can drive " << 20*21.5 << " miles in the town." << endl;</span>
You might be interested in
With a DUI charge on a driver’s record A. the price of his/her insurance greatly increases. B. he/she may drive only during day
Dmitry_Shevchenko [17]
D. Choice 1 and Choice 3 :)
6 0
3 years ago
Read 2 more answers
Why is it important to create a web maintenance schedule? Check all of the boxes that apply.
Andreas93 [3]
Attach a picture so we can see the question
3 0
3 years ago
3 Which of the following statements are true about how technology has changed work? Select 3 options. With the spread of technol
madam [21]

Answer:

In a gig economy, workers are only hired when they are needed for as long as they are needed.

Businesses can be more profitable by using communication technology to reduce the costs of travel.  

Through the use of the Internet and collaboration tools, more workers are able to perform their jobs remotely.

Explanation:

7 0
3 years ago
To serve as a visual reminder that the structure or class name is not a variable, structure names and class names should _______
GrogVix [38]
<span>be clearly marked as distinct from variables. Instead, they should be marked or labeled otherwise, and an explicit indication that they are not variables should be provided both next to the structure and class names, and also on a separate visual material.</span>
7 0
4 years ago
Software that people commonly use in the workplace to make their lives easier is called?
larisa86 [58]
Its B beacause computer has made our lives very easier
7 0
3 years ago
Read 2 more answers
Other questions:
  • Trish has bought a new computer that she plans to start working on after a week. Since Trish has not used computers in the past,
    10·1 answer
  • Which statement about word processing software is true?
    11·1 answer
  • Which kind of system software tells the computer how to communicate with peripherals, such as a prero
    6·2 answers
  • The human brain can store both temporary and permanent bits of information. Which type of memory in the computer is similar to t
    6·1 answer
  • How is communication within healthcare different than communication within other industries ?
    13·1 answer
  • Is the Internet dangerous?
    10·2 answers
  • Match each method of communication with its intended purpose.
    14·1 answer
  • Which coding manual contains three to seven character codes with a decimal after the third character
    11·1 answer
  • The \t and \n are examples of one of Python's escape characters.<br><br> A. True<br> B. False
    11·1 answer
  • Javascript and java are really just two slightly different names for the same language.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!