This is the first code I have tried to run I have everything working but can't seem to get my "else" statement to display when I type in random characters after "are you satisfied with this output"
int main ()
{
int Fahrenheit, Celsius, y, Y;
cout << "Please enter a tempautre in Fahrenheit: ";
cin >> Fahrenheit;
cout << "The tempature you entered is: " << Fahrenheit << ".\n";
Celsius = (Fahrenheit-32) / 1.8; // tempature conversion formula
cout << "The tempature in Celsius is: "<< (Celsius) << ".\n";
cout << "Are you satisified with output: " ;
cin >> y, Y;
if ((y, Y == y) || (y, Y ==Y))
{
cout << "Thank You";
}
else
{
cout << "Thanks for your input";
}
return 0;
}