hello
i trying to learn how to type in for exampel 5 and its going to type out
5 4 3 2 1 0
import java.util.Scanner;
class indexerad_variable
{
public static void main( String args[] )
{
int i= 0;
while (i<= 100){
System.out.println("your number: ");
System.out.println((100-i));
i++;
}
}
}
yes i know its only typing your number then counting down to 0.