I have to wrtie a valid C++ condition (Boolean expression) for each of the following checks: (naming my own variable when needed)
if the value of the variable GPA is between 3.0 and 3.6 excluding 3.0 and 3.6.
if a voter is at least 18 years old and had registered to vote.
if a car traveled more than 55 miles per hour, ran a red light, or park illegally.
if a character is an alphabetical letter (upper or lower cases).
This is what I have so far does is look right so far? If not tell how to fix it
if the value of the variable GPA is between 3.0 and 3.6 excluding 3.0 and 3.6.
if( Gpa >= 3.0)&&(Gpa==3.6)
if a voter is at least 18 years old and had registered to vote.
if (Voter == 18)
return vote;
if a car traveled more than 55 miles per hour, ran a red light, or park illegally.
if a character is an alphabetical letter (upper or lower cases).