Ask Question
12 September, 20:13

You need to test a condition and then execute one set of statements if the condition is true. If the condition is false, you need to execute a different set of statements. What structure will you use? (Write out a sample code)

+1
Answers (1)
  1. 12 September, 21:49
    0
    if/else is probably the most simple structure to use. It takes a lot of manually entering strings and what not though. Not sure if this is what you're wondering.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “You need to test a condition and then execute one set of statements if the condition is true. If the condition is false, you need to ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers