Homework 5, A little loopy.

Short Description:

Do Something

Goals

When you finish this homework, you should have:

Formal Description

In a single java program perform the following tasks.
  1. Count from -10 to 0 by 1. Include both -10 and 1 in your output. Print all values on a line separated by a space.
  2. Count from 1 to 20 by 3, (1, 4, 7, ...). Place all output on a line, separated by commas, no comma after the last number
  3. Ask the user to input 99, a number and loop until they give you the number 99. Print the number of times they gave you a number that was not 99.

Please label each of the different loops:

Required Files

A single java program file.

Submission

Submit the assignment to the D2L folder Homework 5 by the due date.