diff --git a/2-js-basics/4-arrays-loops/assignment.md b/2-js-basics/4-arrays-loops/assignment.md index 0b9bd6dc..0b634e76 100644 --- a/2-js-basics/4-arrays-loops/assignment.md +++ b/2-js-basics/4-arrays-loops/assignment.md @@ -8,6 +8,14 @@ Create a program that lists every 3rd number between 1-20 and prints it to the c ## Rubric +``` +for (let i = 0; i <= 20; i++) { + if (i % 3 == 0 && i != 0) { + console.log(i); + } +} +``` + | Criteria | Exemplary | Adequate | Needs Improvement | | -------- | --------------------------------------- | ------------------------ | ------------------------------ | -| | Program runs correctly and is commented | Program is not commented | Program is incomplete or buggy | \ No newline at end of file +| | Program runs correctly and is commented | Program is not commented | Program is incomplete or buggy |