answersLogoWhite

0


Best Answer

#include <iostream>

using namespace std;

int main()

{

double meter, cent;

cout<<"Enter value in meters";

cin>>meter;

cent=meter*100;

cout<<meter<<" meters"<<" = "<<cent<<" centimeters;

system("pause");

return 0;

}

to convert more than one number put the whole program in a for loop

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
User Avatar

Anonymous

Lvl 1
3y ago
Put the programme by using class
More answers
User Avatar

Wiki User

12y ago

program to convertinches into feet

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How to write a program that converts inches into centimeters feet yards and meters in C plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp