if (score >= 90) grade = ‘A’; The following example displays Number is positive if the value of number is greater than or equal to 0 . If the value of number is less than 0 , it displays Number is negative .
Read moreHow do you explain if/then else?
Use the If… Then… Else statement to define two blocks of statements. One of the statements runs when the specified condition is True, and the other one runs when the condition is False . When you want to define more than two blocks of statements, use the ElseIf Statement.
Read more