Simple C program issue...
|Unfortunately, I do not know many of the technical terms that would probably allow me to explain my issue a lot easier...but here is what my problem is...
I want my program to take a character input and depending on the char value, it will determine an integer value to be used in an equation.
My issue is that my program prints the correct statement to direct the user but does not allow the user to input a character.
This is just a snippet of my actual program. My program compiles fine and runs fine up until this string.
printf("To multiply value by 2, enter (A), to multiply value by 20, enter (B)\n");
if(multiplier == 'A')
final_value = 2 * 20;
if(multiplier == 'B')
final_value = 20 * 20;