raffaldarmaki9818 raffaldarmaki9818
  • 27-09-2019
  • Computers and Technology
contestada

Write a C program to calculate the distance, in feet, of a trip that is 2.36 miles long. One mile is equal to 5,280 feet.

Respuesta :

krlosdark12
krlosdark12 krlosdark12
  • 29-09-2019

Answer:

12460.799805 feet.

Explanation:

#include <stdio.h> //include the libraries

int main()

{   float d,conv,dml; //define the variables

   d=2.36; // set the distance value

   conv=5280; //set the convertion factor

   dml=d*conv; //(result) here, we are multiplying the distance and the factor

   printf("%f",dml); //print the result as a float variable.

}

Answer Link

Otras preguntas

How could you evaluate the safety and healthfulness of this health product? A. Try the product for a day and see if you like it. B. Read the research associated
How did Andrew Jackson become president?
The enzyme structure begins to break down intermolecular bonds are broken enzyme molecules gain kinetic energy.
Define the following word using the meaning of the suffix. Use your dictionary if you are uncertain of the definition. awareness to make aware skill of bein
A compound formed between a metal and chlorine is called a___________.
Suppose that goods x and y are substitutes and the price of good y falls. we would then expect
Which of the following from Much Ado About Nothing provides an example of personification? A. "Is it possible disdain should die while she hath such m
Help me please ASAP
The rest of plays movement can be seen at
An empty box weighs 2 and 1/4 pounds. It is then filled with 16 and 2/3 pounds of fruit. What is the weight of the box when it is full ?