Get premium membership and access questions with answers, video lessons as well as revision papers.

Write a C++ program that converts feet to inches.Prompt the user for feet and display the equivalent number of inches.Have your program repeat this process...

      

Write a C++ program that converts feet to inches.Prompt the user for feet and display the equivalent number of inches.Have your program repeat this process until the user enters 0 for the number of feet.

  

Answers


Davis
#include
using namespace std;
into main ()
{
double feet;
do{
cout << "Enter feet (0 to quit):";
cin >> feet;
court << feet * 12 << " inches\n";
} while ( feet !=0.0);
return 0;
}

Githiari answered the question on April 30, 2018 at 13:25


Next: Explain the contribution of the courts of law to justice and social order in a country.
Previous: Tamu Limau is a senior partner in a real estate business. He would like to know whether to continue the business as a partnership or convert...

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions