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
bagirrra123 [75]
3 years ago
5

Help users calculate their car's miles per gallon. Write a program to allow a user to enter the number of miles driven and the n

umber of gallons of gas used. The output should be the miles per gallon. Use a Do...While (post- test) loop to allow users to enter as many sets of data as desired. Using Raptor program

Computers and Technology
1 answer:
stiks02 [169]3 years ago
8 0

Answer:

The Raptor program for this question is given in the attachment below.

Explanation:

  • Run a loop until user decides to quit the program.
  • Get the number of miles and gallons from user as an input.
  • Use the formula to calculate miles per gallon.
  • Display the calculated value of miles per gallon.
  • Ask the user if they would like to continue using this program.

You might be interested in
What type of storage drive contains multiple spinning platters?
Gala2k [10]

The type of storage drive that contains multiple spinning platters is called; Hard disk drives

<h3>What is the hard disk drive?</h3>

A computer hard disk drive (HDD) is a non-volatile data storage device. Non-volatile refers to storage devices that maintain stored data when turned off.

Now, the correct answer to the question is hard disk drives. This is because a hard disk drive is comprised of a stack of spinning metal disks known as platters. Each spinning disk has trillions of tiny fragments that could possibly be magnetized in order to represent bits (1s and 0s in binary code).

Read more about Hard disk drives at; brainly.com/question/24498473

#SPJ12

8 0
2 years ago
Decribe the components of an Microsoft<br>Windows desktop<br>​
damaskus [11]

Explanation:

the main component of Windows when you start your computer are the desktop, my computer, recycle bin , start button, Taskbar and shortcuts to application after opening an application you will also have a Windows with an active application which will appear in your desktop and taskbar.

3 0
3 years ago
Change the function definition for myint so that xyzfunc uses the same memory locations for myint as in the calling program.
sattari [20]

Answer:

b) void xyzfunc (int &myint);

Explanation:

To use the same memory location as the variable in the calling function we have to pass the variable by reference means passing the same address to the function.So to do that we have use & operator which stands for address.

We will do this as following:-

void xyzfunc (int * myint);

Hence the answer is option b.

8 0
3 years ago
Someone help me please
MA_775_DIABLO [31]

Answer:

I think it is the last 2 but i am not 100% sure.

Explanation:

3 0
3 years ago
Shay writes programs to make operating systems easier for people to use. Her job title is best described as .
Debora [2.8K]
A programmer, developer, dev, coder, or software engineer. Any of these answers are right.
6 0
3 years ago
Other questions:
  • True or False, PDF documents have many benefits, but their main disadvantage is that the formatting of their text and graphic el
    15·1 answer
  • A file extension of .xlsx means that the file contains what? *
    12·2 answers
  • What parts of the computer does it not need to function?​
    9·1 answer
  • What is meant by algorithm?​
    12·1 answer
  • Is a process in which an attacker attempts to acquire information about your network and system by social means, such as talking
    9·1 answer
  • Design and implement an application that plays the Hi-Lo guessing game with numbers. The program should pick a random number bet
    13·1 answer
  • The term integration mean?
    7·2 answers
  • Need to know? Anyone feel like helping me not fail
    13·1 answer
  • Create a program that allows the user to pick and enter a low and a high number. Your program should generate 10 random numbers
    14·1 answer
  • Each drop-down menu.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!