#include using namespace std; int main() { //step 0: declare variables and stuff you need double inches; double centimeters; //step 1: ask user for number of inches cout << "Please enter a number of inches sir or madaam: "; cin >> inches; //step 2: calculate how many centimeters equals that number of inches centimeters = inches * 2.54; //step 3: tell user the answer cout << inches << " inches equals " << centimeters << " centimeters!" << endl; return 0; }