Hello, I am so new with all of this. I am using "Jumping_into C++"
to start my learning of C++. I am currently stuck in Chapter 4 with this practice problem. Any input as to what I am doing wrong would be very helpful.
This is what I have so far:


Code:
//Program task: Ask the user for two users' ages, and //indicate who is older;
//behave differently if both are over 100


#include <iostream>


using namespace std;


int main()
{
// declared variables for user input
int mauricio_age;
int heather_age;


//Ask the user for the ages of mauricio and heather
cout << "What is Mauricio age: " << "\n";
cin >> mauricio_age;
cout << "What is the Hethers age: " << "\n";
cin >> heather_age;


//  The problem is
//when I input mauricios age and it's less than 99 and heathers age is over 99
//it gives me the wrong "cout "WOW that is a lot of years""
//when it should give me "cout "Mauricio is younger than Heather". Also when I have the
//same age above 99 for both mauricio and heather it gives the "cout "your age is the same" 
// when it should say"cout"wow that is a lot of years"


if ( mauricio_age == heather_age )
{
cout << " Your age is the same\n";
return 0;
}
if ( mauricio_age && heather_age >= 99 )
{
cout << "WOW that is alot of years\n";
} else if ( mauricio_age < heather_age ) { cout << "Mauricio is younger then Heather\n"; } else { cout << "Heather is younger then Mauricio\n"; return 0; }
}