#include

#include

using namespace std;

int main()

{

int x;

char i;

char f;

char y;

char yi;

char fi;

cout << “Conversions Calculator (Version Alpha 1.01). \n Enter the letter(s) that correspond(s) to the conversion you need.” << endl;

cout << “Customary Length: \n i = inches to feet, f = feet to yards, y = inches to yards, yi = yards to inches, fi = feet to inches” << endl;

cout << “Time: \n s = seconds to minutes, sh = seconds to hours, sd = seconds to days, ms = minutes to seconds, m = minutes to hours, \n md = minutes to days, hs = hours to seconds, hm = hours to minutes, hd = hours to days, ds = days to seconds, \n dm = days to minutes, dh = days to hours” << endl;

cin >> x;

if (x == i)

{

int original_inches;

cout << "Enter your amount of inches … " << endl;

cin >> original_inches;

cout << original_inches << " inches in feet is … " << original_inches * 12;

}

}

that was my code so far.

my command prompt never asks for my integer inches_original and goes straight to a random number and answer after I type in the I value and hit enter.

my command prompt then does this:

Conversions Calculator (Version Alpha 1.01).

Enter the letter(s) that correspond(s) to the conversion you need.

Customary Length:

i = inches to feet, f = feet to yards, y = inches to yards, yi = yards to inches, fi = feet to inches

Time:

s = seconds to minutes, sh = seconds to hours, sd = seconds to days, ms = minutes to seconds, m = minutes to hours,

md = minutes to days, hs = hours to seconds, hm = hours to minutes, hd = hours to days, ds = days to seconds,

dm = days to minutes, dh = days to hours

i

Enter your amount of inches …

4354320 inches in feet is … 52251840

Process returned 0 (0x0) execution time : 2.739 s

Press any key to continue.