Question: Explain selection statements What are selection statements? Give some examples. Why use them? Explain how an IF statement works, provide a screen snip and explain
Explain selection statements
What are selection statements? Give some examples. Why use them?
Explain how an IF statement works, provide a screen snip and explain the code.
What is an IF else statement? When would you need to use it?
provide a screen snip example and explain the code.
Explain iteration (loops)
What do programming loops do? Why use them?
What is a while loop and provide a code example
What is a do while loop? How does it differ from a while loop?
Provide a code example of a do while loop
What is a for loop? Why use one? Provide a code example.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
