lab
This commit is contained in:
21
labs/lab1/Count.java
Normal file
21
labs/lab1/Count.java
Normal file
@ -0,0 +1,21 @@
|
||||
// *******************************************************************
|
||||
// File Name: Count.java
|
||||
//
|
||||
// Purpose: count to 5 3 different languages
|
||||
// Error type: illegal start of expression
|
||||
// *******************************************************************
|
||||
public class Count
|
||||
{
|
||||
public static void main (String[] args)
|
||||
{
|
||||
//prints in english
|
||||
System.out.println ("one two three four five");
|
||||
|
||||
//prints in french
|
||||
System.out.println ("un deux trois quatre cinq");
|
||||
|
||||
//prints in spanish
|
||||
System.out.println ("uno dos tres cuatro cinco");
|
||||
}
|
||||
// Comment in a // comment line.
|
||||
}
|
Reference in New Issue
Block a user