Assignemnt #75 Tentimes
Code
/// Name: JJ Deng
/// Period: 6
/// Prog/// Name: JJ Deng
/// Period: 6
/// Program Name: Ten times
/// File Name: Tentimes.java
/// Date Finished: 1/18/2016
import java.util.Scanner;
public class Tentimes
{
public static void main( String[] args )
{
Scanner keyboard= new Scanner(System.in);
for ( int n = 1 ; n <= 10 ; n = n+1 )//the program wont stop if u remove n= n+1
{ //the program won't run without int n= 1
System.out.println(" mr.davis has swag" );
}
}
}
Picture of the output