Recursion and Loops

# Introduction Computers are often used to automate repetitive tasks. Repeating tasks without making errors is something that computers do well and people do poorly. Like conditional expressions, loops can also be nested one in another, but this will make our program hard to read and the performance will not be good. Try to avoid nested loops. There are three types of loops in Java. We'll learn them one by one in this lab.

|60 : 00

Click the virtual machine below to start practicing