New Problem... it keeps outputting both under and over par grrrrrrrrrr
whats wrong with my if statement??!!
if (StrokeCount == 5 )
{
cout<< "You are on Par Way To Go!!"<<endl;
cout << endl;
}
else
if (StrokeCount < 5)
{
Par = 5%StrokeCount;
cout <<" You are "<< Par <<" under Par" << endl;
cout << endl;
}
else
if (StrokeCount > 5 )
Par = StrokeCount%5;
cout <<" You are "<< Par <<" over Par" << endl;
cout << endl;