Homework 2
Introduction to Computer Programming

Due the 3rd week of the semester (see the course calendar) 15 minutes before the end of your laboratory section.

• Read Chapter 2 and 3 in An Introduction to Programming Using Java.
• (100% max) 89% problems and H2.A: Assume there are two integers ($x$ and $y$) in the bsh workspace. Print out the values of $x$ and $y$. Calculate the quotent of $x/y$. Calculate the remainder of $x/y$ without using the Java modulus operator. Calculate the decimal value of $x/y$. Round $x/y$ to the nearest integer.