Ask Question
25 August, 06:11

Define some everyday if else statements you use to determine action. What are the branches of your statement?

+2
Answers (1)
  1. 25 August, 09:23
    0
    if (more than three hours left)

    {

    study web-development;

    }

    else

    {

    practice coding;

    }

    I have taken an real life example and present it as if-else statements.

    If I have more than 3 hours free in a day. Then I should study web-development.

    If i don't have more than 3 hours free in a day then I should practice coding.

    Branches are the statements within the {} curly braces. In our case these are:-

    study web-development;

    practice coding;
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Define some everyday if else statements you use to determine action. What are the branches of your statement? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers