


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Two laboratory exercises focused on using for-loops and while-loops in programming. Exercise 1 covers printing a diamond, generating fibonacci numbers, and printing the squares of integers from 1 to 20. Exercise 2 involves rewriting code using a while-loop, creating a password-protected system, and computing the greatest common divisor (gcd) of two numbers.
Typology: Lab Reports
1 / 4
This page cannot be seen from the preview
Don't miss anything!


