American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – USACO Bronze – Gamas

April 4 @ 6:00 pm - 7:00 pm

Today We Did
  1. We learned about modulus
  2. We learned about List and Array.
  3. We learned about how to use modulus inside for loop
Homework
  1. Create a new int array(6) (“numbers”) and add the following values: -100,2,3,100,-5,14
  2. Create a new int array(20) (“num2”) and use for loop to copy all elements from “numbers” to “num2”
  3. Add code to count how many negative numbers inside the “num2” array.
  4. Write a code that will go through each element inside “numbers” and print all odd number inside the list using modulus (%) operator.
  5. Also read about Java primitive data type – https://www.w3schools.com/java/java_data_types.asp

Details

Date:
April 4
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights