American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Intro to Java – Joel

April 29 @ 5:00 pm - 6:00 pm

Today we did:
  1. We learned about for loops with index.
Homework:
  1. Make a for loop using index that prints “Hey there!” 10 times.
  2. Make a for loop using index that runs from 0 to 19 (not including 19), and once it reaches 10, if it’s equal to 10, then print “10” is my favorite number. Otherwise, just print all numbers in the for loop, with the format 1. Hello, 2. Hello, 3. Hello, 4. Hello, and so on. So it prints Hello each time, along with the current number of the loop .
  3. Make a loop that runs from 50 to 100 (including 100). Print all the numbers, but once the number reaches 67, break the loop.

Details

Date:
April 29
Time:
5:00 pm - 6:00 pm