Practice: Writing Java Programs

Take out a piece of paper. We’ll be programming on paper.

Problem 1

Write a program that reads in a string and prints out the string in reverse order.

Problem 2

Write a program that asks the user to enter in 10 numbers and calculates the average of their entries.

Problem 3

Write a generic Java class TastingMenu<E>

Show me your code before you leave