/*
   Chapter 7:  Grade Point Average
   Programmer: Brad Shedd
   Date:       August 24, 2006
   Filename:   Loop.java
   Purpose:    This loop goes through the array looking for elements that are greater than 0.
*/

public class loop
{
public static void main (String[] args)
{
for (int a = 5; a < 101; a +=5)

System.out.println(
"The number is " + a );
}
}

Homepage