Open PatrickFrankAIU opened 3 months ago
Write a loop that logs the squares of numbers from 1 to 10, but displays the result only if it is less than 50.
Tip: Use an IF condition to check and see if the result of the calculation is below the required amount.
Write a loop that logs the squares of numbers from 1 to 10, but displays the result only if it is less than 50.
Tip: Use an IF condition to check and see if the result of the calculation is below the required amount.