Files
  • main.cpp
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
using namespace std;

int main() {
  cout << "Inches = ";
	double inches;
	cin >> inches;
	double centimeters = inches * 2.54;
	cout << "Centimeters = ";
	cout << centimeters << endl;

  return 0;
}