Program to Convert the given meters into centimeters in C++

#include <iostream>
#include<conio.h>

using namespace std;

int main()
{
    float in,on;
    cout << "Enter Meters : ";
    cin>>in;
    on=in*100;
    cout<<endl<<in<<" Meters == "<<on<<" Centimeters";
    getch();
    return 0;
}

Output :


You Can Also Download This Program From Here

Download Executable From Here



Comments

Popular Posts