Ask Question
15 February, 13:55

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

+2
Answers (1)
  1. 15 February, 14:25
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers