Help the beginner please~

Hi! i am new in programming, i now trying to make a simple calculation for the parking charge, my teacher giving me a question with input, the question that she give me is like this,

"people park car in the area, and each minutes will be charge by 0.50, so the user will put how many hours and minute they park there, and charge will be calculated, then the program will show how much charge that user get, if the charge is >80, user will get discount by 10%."

can any experts tell me why "if else" is error? because in my VS10 the "if else" are been underlined with red line. your help much appreaciate, be nice to me please because im totally new in c++, and i only learn based on youtube, thanks for help :)

if ( bool expression)
{
...
}
elseif ( bool expression )
{
...
}
//else if can be used multiple timeselse
{
...
}
//has to be the last one, cannot have a regular expression

Keep in mind that there cannot be a statement (expression ending with a ;) between the ()'s following 'if' or 'else if'.
Also, there cannot be any other code between if, else if or else, otherwise the 'chain' is broken, and you have to begin with if again. You cannot begin with 'if else' or 'else'. Only comments and whitespace can be in between.

Also, you don't have to use {}'s after every if, else if or else, if there's only a single statement following it, but it's better to do so (code wrapped in {}'s count as one statement). If you're adding code later, you might forget to add the {}'s and unwanted things happen.

Hey, you seriously need to consider revising the concept of the if else structure.

The if-condition has to be enclosed by rounded brackets.

Also avoid putting semi colons after the condition, because a semi colon denotes the end of a statement. If You place a semicolon after the condition, it simply assumes that your if-else statement has terminated the what follows is simply sequential code.

Don't lose hope though, simply revise it and understand the importance of details in the code. Understand what each thing means.

Thanks to those who replying me!! and sorry for late respond, been busy with homeworks, thanks again, this site is so friendly, nice to have community that help newbie like me to learn about the basic, thanks again to all!!