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
Temka [501]
3 years ago
11

Driving is expensive. Write a program with two inputs, a car's miles/gallon and the cost of gas/gallon both represented as doubl

e variables, and output the total drive cost for 10 miles, 50 miles, and 400 miles, all on the same line, each separated by a single space.
Output each floating-point value with two digits after the decimal point, which can be achieved by executing the command
cout << fixed << setprecision(2); once before all other cout statements. That is done only once in the code before any cout stamtent.

Ps:(when i run the program it says this-
Enter miles per Gallon:
Gas cost for ten miles :-nan
Gas cost for fifty miles :-nan
Gas cost for four hundred miles:-nan
Computers and Technology
1 answer:
Nataly_w [17]3 years ago
6 0

Answer:33

Explanation:

You might be interested in
To see if a website is using a secure connection, what should you look for? Select all that apply.
kupik [55]

Answer:

– A web address using “HTTPS” (The extra “S”means it’s a secure connection. – Secure sites show a closed padlock emblem you can click on for security details – the most trustworthy sites will have green padlocks or address bars.

Explanation:

6 0
3 years ago
WILL GIVE BRAINLIEST AND HALLOWEEN CANDY!!!!!!!!!<br> who wants to talk?
Tamiku [17]
<h2>Sure, I wanna talk. (:      .........................</h2>
3 0
3 years ago
Memory cache is referred to as ______. A. SRAM c. SROM b. DRAM d. DROM
Dafna11 [192]

Answer:

Answer is A. SRAM

Explanation:

Memory cache is called static RAM.

7 0
4 years ago
Social media experts suggest that you use other means of communicating claims or complaints before turning to social media. Mess
AURORKA [14]

Answer:

Focus on facts.

Suggest improvements even in positive reviews.

Respond to the business if it offers to address your concern.

Explanation:

In order to establish credibility when posting complaints or reviews, focus must be on fact and must be well supported.

Readers will have more trust in a review that is balanced, therefore one must try to request suggestion for improvement even if the post is positive. Update can be done on original post to effect changes or bring in ideas gotten through communication with the business.

Since the website is permanent, one will be able to edit a post, but not to remove it. Also posts from unknown sources can be tracked, so transparency is needed

5 0
3 years ago
Jason Has A Science Video Project, As He Creats His Project, He Saves, Then Comes Back A Minute Later. The File Is Now Unreadabl
enot [183]
Changing the extension after the program name
Eg .docs  .gif   .jpeg
7 0
3 years ago
Read 2 more answers
Other questions:
  • What is authentication?
    8·1 answer
  • This formatting option functions like a space bar. However, instead of moving one space at a time, it allows you to move your te
    6·1 answer
  • Which one of the following statements referring to mobile Internet
    5·2 answers
  • True or false: a game design document is like a diary for game developers
    13·2 answers
  • Use the Bisection Method to find the root 2. Write a main program and a function program 3. Main Program a. define constants b.
    9·1 answer
  • A switch has just arrived from Cisco. The switch has never been configured with any VLANs, but VTP has been disabled. An enginee
    13·1 answer
  • The World Wide Web is a program that allows you to search for information on the Internet.
    9·1 answer
  • John works for Internal Computer Specialists, a company that focuses on helping small business owners resolve MIS infrastructure
    12·1 answer
  • What else needs to be done when creating a site?
    14·1 answer
  • PLEASE IM IN AN EXAM I NEED HELP ASAPPP<br> (Appshed question)
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!