java homework 6

JAVA Homework

1. Write a program that prints a greeting of your choice. The greeting can be in any language of your choice.

2. Write a program that prints the sum of 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1