Homework 3


Problem Set A

Write a program that prints the numbers between 10 and 100

Write a program that prints the word "hi" 65 times

[Hard] Write a program that adds all the numbers between 0 and 15.

Write a program that adds the numbers -1351 and 1613 and prints the result.

Write a program that prints "hi", but only when the mouse is on the left side of the screen.
You will need to have a setup and draw function for this.

Problem Set B

Only do this problem set if you've learned about arrays.

Create an array of integers with the integers 0, 10, and 5 in them.

Create an array of Strings that has "Hi", "ABC", "Moose", "Zed" in it

Write a program that prints out all of the Strings in the previous array.

[hard] Write a program that adds all of the elements in the integer array together and prints the result.