[SOLVED] I dont understand why my C++ program is doing this (still)

Okay so my char i is for (when in command prompt running the program) when you want to select the inches to feet conversion, and when you type i into the computer and hit enter (on the command prompt) it is supposed to run the if function for x == i (because x is the
variable responsible for the client choosing the corresponding letter to the conversion the client is trying to get). But when I type in i in the command prompt it does not ask me for the
variable for inches (q) and instead goes straight to a random answer.
Edit: I just added a screen shot of my command prompt.

#include <iostream>
#include <string>

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 q;
        cout << "Enter your amount of inches ... " << endl;
        cin >> q;
        cout << q * 12;
    }

}

I believe this was said before: The character 'i' (the one you press on your keyboard) is NOT an integer. Change the type of x to char and your if statement to

if(x == 'i')

Also, why are you opening a new thread? I believe you have another thread for the same question?

thank you! I think I was over thinking it and did not realize it was a simple error. I am dumb to think that x is an integer -_-.

I dont know

(deleted)