public class Lab6
{
public static void main(String[] args)
{
double i;
for ( i=1; i<=10; i++ )
{
System.out.println("Please enter a number: ");
System.out.println("Numbers entered in " + i + "");
}
}
}
thats i what i have so far.... I am at home right now and trying to work off memory..all my notes are on my schools server...so i dont remember everything...i am trying to make a simple program that you input 10 numbers, you tell them the total amount of numbers youve entered, you tell them their current total, and at the end you finish by telling them the average.
i had the
import.java.util* <<thats not right
and i know about the scanner myinput...

New Topic/Question
Reply



MultiQuote


|