mmkkfdm2069 mmkkfdm2069
  • 19-07-2019
  • Computers and Technology
contestada

Write a program that prompts the user for a measurement inmeters and then converts it into miles, feet, and inches.

Respuesta :

Numenius
Numenius Numenius
  • 23-07-2019

Answer:

Program for measurement in meters and then converts it into miles, feet, and inches:

#include<iostream.h>

#include<conio.h>

void main()

{  float meter, mile, feet, inches;

 cout<<"enter meters";

 cin>>meters";

 feet=meter×3.2808;

 mile= meter×0.000621371;

 inches= meter×39.3701;

cout<<"Value of"<<meter<<"meter"<<"in feet is"<<feet<<"feet":

cout<<"Value of"<<meter<<"meter"<<"in mile is"<<mile<<"mile";

cout<<"Value of"<<meter<<"meter"<<"in inches is"<<inches<<"inches";

getch();

}

Answer Link

Otras preguntas

Renaissance humanism defined the humanities as _______.
a picture can could hold two quarters of a gallon of water if paul filled up seven pitchers how much water would he have
A football is kicked straight up in the air , it hits the ground 5.6 s later. What was the greatest height kicked reached by the ball? Assume it was kicked at g
Solve for x. Express the answer in simplest form,
if a 6 ft tall tent cast a 10 ft long shadow the how long is the shadow that a 9 ft tall adult elephant casts? show work
whats 1 4/5+(2 3/20+3/5
the quotient of 700 and a number??????
Rebecca drove 44 1/3 miles in 1 1/3 hours. What is the unit rate for miles per hour?
What two numbers can be used in place of the? To make the statement true. I?I =8/9
The Jayden family eats at a restaurant that is having a 15% discount promotion. Their meal cost $78.65, and they leave a 20% tip. of the tip applies to the cost