if_statement_quiz.md - brainchildservices/curriculum GitHub Wiki
- Define use of if ?
A) Use if to specify a block of code to be executed, if a specified condition is true
- Define use of else ?
A) Use else to specify a block of code to be executed, if the same condition is false
- Define use of else if ?
A) Use else if to specify a new condition to test, if the first condition is false
- Dose we can use if statement in Uppercase?
A) No
-
Find out the error in below code
if (20 > 18)
{
Console.WriteLine("20 is greater than 18");
};
A) Line 4 there is ;