Hello everyone! Now is our Lab 7 exercise. For this topic, we learn how to write programs for executing statements repeatedly using while, do while, and for loop. Besides, we are also learn how to write nested loops and how to apply loops in solving computational problems.
Here is our task.
Question 1
Answer :
Question 2 :
Answer :
Question 3
Answer :
Question 4 :
Answer :
Question 5 :
Answer :
While loop
Do while loop
Question 6
Answer :
Question 7 :
Answer :
Question 8
Answer :
Question 9
Answer :
Question 10
Answer :
Here is our task for Lab 7. Actually this exercise is quite challenging but I love to learn it. Thank you for reading my blog.