Created
November 17, 2018 17:09
-
-
Save jnizet/cc5de3c23ee54cd8d8b3fdd26032a9b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) { | |
//variables | |
int id; | |
String data1, data1, data3, data4; | |
//Array | |
String dataArray[][] = new String[20][3]; | |
Scanner sc = new Scanner(System.in); | |
String messages[] = {"Enter data1", "enter data2", "enter data3", "Enter data4"}; | |
for (int i = 0; i < 1; i++) { | |
for (int j = 0; j < 3; j++) { | |
System.out.println("Enter " + messages[j]); | |
infoEtud[i][j] = sc.next(); | |
} | |
if (dataArray[i] == dataArray[i]) { | |
System.out.println("found it"); | |
} | |
} | |
for (int i = 0; i < 1; i++) { | |
for (int j = 0; j < 3; j++) { | |
System.out.print(DataArray[i][j] + " "); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment