98 991
Assignments Done
99%
Successfully Done
In May 2021

Answer to Question #26606 in C++ for red rose

Question #26606
Write a C++ program to convert meters to feet. The program should
request the starting meter value, the number of conversions to be made, and the increment
between metric values. The display should have appropriate headings and list the meters and
the corresponding feet value.Use the relationship that 1 meter = 3.281 feet.

write the above .programs using a for loop.
1
2013-03-18T11:59:27-0400
#include <iostream>
#include <conio.h>

using namespace std;
//main function
int main()
{
double startvalue=0;//declare variable startvalue
double feetvalue=0;//declare variable feetvalue
cout<<"Enter starting meter value: ";
cin>>startvalue;//input startvalue
cout<<"Enter number of conversions to be made: ";
//using a for loop.
feetvalue=3.281*i;//calculate feet
cout<<i<<" =
"<<feetvalue<<"
";//show result
}
getch();
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!