Advertisement
Guest User

Untitled

a guest
Jan 27th, 2015
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.97 KB | None | 0 0
  1. /*
  2. * To change this template, choose Tools | Templates
  3. * and open the template in the editor.
  4. */
  5. package worldcupgroups;
  6.  
  7. import java.io.BufferedReader;
  8. import java.io.FileReader;
  9. import java.io.IOException;
  10. import java.util.Scanner;
  11.  
  12. /**
  13. *
  14. * @author dudu
  15. */
  16. public class WORLDCUPGROUPS {
  17.  
  18. /**
  19. * @param args the command line arguments
  20. */
  21. public static void main(String[] args) {
  22. Scanner Input = new Scanner(System.in);
  23. String TeamName;
  24. String Choice = "";
  25. String strmark = "";
  26. int teamNum;
  27.  
  28. String[] SEEDs = new String[8];
  29. String[] Africa = new String[8];
  30. String[] Asia = new String[8];
  31. String[] Europe = new String[9];
  32.  
  33.  
  34.  
  35. String[] GROUPA = new String[4];
  36. String[] GROUPB = new String[4];
  37. String[] GROUPC = new String[4];
  38. String[] GROUPD = new String[4];
  39. String[] GROUPE = new String[4];
  40. String[] GROUPF = new String[4];
  41. String[] GROUPG = new String[4];
  42. String[] GROUPH = new String[4];
  43.  
  44.  
  45. initialize(SEEDs, Africa,Asia, Europe);
  46. loadSEED(SEEDs);
  47. loadAFRICA(Africa,Europe);
  48.  
  49. loadASIA(Asia);
  50. loadEurope(Europe);
  51.  
  52. int b;
  53.  
  54. b = (int) Math.floor(Math.random() *7) ;
  55. if (Africa[7].equals("e") ){
  56. Africa[7]=Europe[b];
  57. for (int i = b; i <8; i++) {
  58. Europe[i]=Europe[i+1];
  59. }
  60.  
  61. }
  62.  
  63. System.out.println("SEEDS ");
  64. for (int i = 0; i < SEEDs.length; i++) {
  65. System.out.println((i + 1) + " " + SEEDs[i]);
  66. }
  67. System.out.println("");
  68. System.out.println("AFRICA ");
  69. for (int i = 0; i < Africa.length; i++) {
  70. System.out.println((i + 1) + " " + Africa[i]);
  71. }
  72.  
  73. System.out.println("");
  74. System.out.println("ASIA ");
  75. for (int i = 0; i < Asia.length; i++) {
  76. System.out.println((i + 1) + " " + Asia[i]);
  77. }
  78. System.out.println("");
  79. System.out.println("EUROPE");
  80. for (int i = 0; i <8; i++) {
  81. System.out.println((i + 1) + " " + Europe[i]);
  82. }
  83. System.out.println("");
  84.  
  85. Groups(SEEDs, Africa, Asia, Europe, GROUPA, GROUPB, GROUPC, GROUPD, GROUPE, GROUPF, GROUPG, GROUPH);
  86. fixtures( GROUPA, GROUPB, GROUPC, GROUPD, GROUPE, GROUPF, GROUPG, GROUPH);
  87.  
  88.  
  89. }
  90.  
  91. private static void initialize(String SEeds[],String AFRica[],String ASia[],String EUrope[]) { // initialize function
  92.  
  93. for (int x = 0; x < SEeds.length; x++) {
  94.  
  95. SEeds[x] = "e";
  96. }
  97. for (int x = 0; x < AFRica.length; x++) {
  98.  
  99. AFRica[x] = "e";
  100. }
  101. for (int x = 0; x < ASia.length; x++) {
  102.  
  103. ASia[x] = "e";
  104. }
  105. for (int x = 0; x < EUrope.length; x++) {
  106.  
  107. EUrope[x] = "e";
  108. }
  109.  
  110.  
  111. }
  112. private static void loadSEED(String SEEDS[]) { // load function
  113.  
  114. System.out.println(" TEAMS THAT QUALIFIED FOR THE WORLD CUP ");
  115. System.out.println(" -------------------------------------- ");
  116.  
  117. int lineCount = 0;
  118. try {
  119. Scanner rf = new Scanner(new BufferedReader(new FileReader("SEEDS.txt")));
  120.  
  121. while (rf.hasNext() && lineCount < SEEDS.length) {
  122. SEEDS[lineCount] = rf.nextLine();
  123. lineCount++;
  124. }
  125. rf.close();
  126.  
  127. } catch (IOException e) {
  128. System.out.println("Error IOException is: " + e);
  129. }
  130.  
  131. }
  132.  
  133. private static void loadAFRICA(String AFRICA[], String Europe[]) {
  134. int linecount = 0;
  135. try {
  136. Scanner rf = new Scanner(new BufferedReader(new FileReader("AFRICA.txt")));
  137.  
  138. while (rf.hasNext() && linecount < AFRICA.length) {
  139. AFRICA[linecount] = rf.nextLine();
  140. linecount++;
  141. }
  142. rf.close();
  143.  
  144. } catch (IOException e) {
  145. System.out.println("Error IOException is: " + e);
  146. }
  147.  
  148.  
  149.  
  150.  
  151. }
  152.  
  153. private static void loadASIA(String ASIA[]) {
  154. int linecounts = 0;
  155. try {
  156. Scanner rf = new Scanner(new BufferedReader(new FileReader("ASIA.txt")));
  157.  
  158. while (rf.hasNext() && linecounts < ASIA.length) {
  159. ASIA[linecounts] = rf.nextLine();
  160. linecounts++;
  161. }
  162. rf.close();
  163.  
  164. } catch (IOException e) {
  165. System.out.println("Error IOException is: " + e);
  166. }
  167.  
  168.  
  169. }
  170.  
  171. private static void loadEurope(String EUROPE[]) {
  172. int LineCount = 0;
  173. try {
  174. Scanner rf = new Scanner(new BufferedReader(new FileReader("EUROPE.txt")));
  175.  
  176. while (rf.hasNext() && LineCount < EUROPE.length) {
  177. EUROPE[LineCount] = rf.nextLine();
  178. LineCount++;
  179. }
  180. rf.close();
  181. } catch (IOException e) {
  182. System.out.println("Error IOException is: " + e);
  183. }
  184.  
  185.  
  186. System.out.println(" ");
  187. }
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195. private static void Groups(String seeds[], String africa[], String asia[], String europe[], String gROUPA[], String gROUPB[], String gROUPC[], String gROUPD[], String gROUPE[], String gROUPF[], String gROUPG[], String gROUPH[]) {
  196.  
  197.  
  198. System.out.println(" GROUP STAGES ");
  199. System.out.println(" ------------ ");
  200.  
  201.  
  202.  
  203. int a, b, c, d;
  204. b = (int) Math.floor(Math.random() * 7);
  205. c = (int) Math.floor(Math.random() * 7);
  206. d = (int) Math.floor(Math.random() * 7);
  207. a = (int) Math.floor(Math.random() * 7);
  208.  
  209. gROUPA[0] = seeds[b];
  210. gROUPA[1] = africa[c];
  211. gROUPA[2] = asia[d];
  212. gROUPA[3] = europe[a];
  213.  
  214.  
  215.  
  216. for (int i = 0; i < 7; i++) {
  217. seeds[b] = seeds[b + 1];
  218. seeds[b] = seeds[7];
  219.  
  220. }
  221.  
  222. for (int i = 0; i < 7; i++) {
  223. africa[c] = africa[c + 1];
  224. africa[c] = africa[7];
  225.  
  226. }
  227.  
  228. for (int i = 0; i < 7; i++) {
  229. asia[d] = asia[d + 1];
  230. asia[d] = asia[7];
  231.  
  232.  
  233. }
  234.  
  235.  
  236. for (int i = 0; i < 7; i++) {
  237. europe[a] = europe[a + 1];
  238. europe[a] = europe[7];
  239.  
  240.  
  241. }
  242.  
  243.  
  244.  
  245. int e, f, g, h;
  246. e = (int) Math.floor(Math.random() * 6);
  247. f = (int) Math.floor(Math.random() * 6);
  248. g = (int) Math.floor(Math.random() * 6);
  249. h = (int) Math.floor(Math.random() * 6);
  250. gROUPB[0] = seeds[e];
  251. gROUPB[1] = africa[f];
  252. gROUPB[2] = asia[g];
  253. gROUPB[3] = europe[h];
  254.  
  255. for (int i = 0; i < 6; i++) {
  256. seeds[e] = seeds[e + 1];
  257. seeds[e] = seeds[6];
  258.  
  259. }
  260. for (int i = 0; i < 6; i++) {
  261. africa[f] = africa[f + 1];
  262. africa[f] = africa[6];
  263.  
  264. }
  265.  
  266. for (int i = 0; i < 6; i++) {
  267. asia[g] = asia[g + 1];
  268. asia[g] = asia[6];
  269.  
  270.  
  271. }
  272.  
  273. for (int i = 0; i < 6; i++) {
  274. europe[h] = europe[h + 1];
  275. europe[h] = europe[6];
  276.  
  277.  
  278. }
  279.  
  280.  
  281.  
  282. int Z, j, k, l;
  283. Z = (int) Math.floor(Math.random() * 5);
  284. j = (int) Math.floor(Math.random() * 5);
  285. k = (int) Math.floor(Math.random() * 5);
  286. l = (int) Math.floor(Math.random() * 5);
  287. gROUPC[0] = seeds[Z];
  288. gROUPC[1] = africa[j];
  289. gROUPC[2] = asia[k];
  290. gROUPC[3] = europe[l];
  291. for (int i = 0; i < 5; i++) {
  292. seeds[Z] = seeds[Z + 1];
  293. seeds[Z] = seeds[5];
  294.  
  295. }
  296.  
  297.  
  298. for (int i = 0; i < 5; i++) {
  299. africa[j] = africa[j + 1];
  300. africa[j] = africa[5];
  301.  
  302. }
  303. for (int i = 0; i < 5; i++) {
  304. asia[k] = asia[k + 1];
  305. asia[k] = asia[5];
  306.  
  307.  
  308. }
  309.  
  310. for (int i = 0; i < 5; i++) {
  311. europe[l] = europe[l + 1];
  312. europe[l] = europe[5];
  313.  
  314.  
  315. }
  316.  
  317.  
  318.  
  319.  
  320. int m, n, o, p;
  321. m = (int) Math.floor(Math.random() * 4);
  322. n = (int) Math.floor(Math.random() * 4);
  323. o = (int) Math.floor(Math.random() * 4);
  324. p = (int) Math.floor(Math.random() * 4);
  325. gROUPD[0] = seeds[m];
  326. gROUPD[1] = africa[n];
  327. gROUPD[2] = asia[o];
  328. gROUPD[3] = europe[p];
  329. for (int i = 0; i < 4; i++) {
  330. seeds[m] = seeds[m + 1];
  331. seeds[m] = seeds[4];
  332.  
  333. }
  334.  
  335. for (int i = 0; i < 4; i++) {
  336. africa[n] = africa[n + 1];
  337. africa[n] = africa[4];
  338.  
  339. }
  340.  
  341. for (int i = 0; i < 4; i++) {
  342. asia[o] = asia[o + 1];
  343. asia[o] = asia[4];
  344.  
  345.  
  346. }
  347.  
  348.  
  349. for (int i = 0; i < 4; i++) {
  350. europe[p] = europe[p + 1];
  351. europe[p] = europe[4];
  352.  
  353.  
  354. }
  355.  
  356.  
  357.  
  358. int q, r, s, t;
  359. q = (int) Math.floor(Math.random() * 3);
  360. r = (int) Math.floor(Math.random() * 3);
  361. s = (int) Math.floor(Math.random() * 3);
  362. t = (int) Math.floor(Math.random() * 3);
  363. gROUPE[0] = seeds[q];
  364. gROUPE[1] = africa[r];
  365. gROUPE[2] = asia[s];
  366. gROUPE[3] = europe[t];
  367. for (int i = 0; i < 3; i++) {
  368. seeds[q] = seeds[q + 1];
  369. seeds[q] = seeds[3];
  370.  
  371. }
  372. for (int i = 0; i < 3; i++) {
  373. africa[r] = africa[r + 1];
  374. africa[r] = africa[3];
  375.  
  376. }
  377. for (int i = 0; i < 3; i++) {
  378. asia[s] = asia[s + 1];
  379. asia[s] = asia[3];
  380.  
  381.  
  382. }
  383.  
  384.  
  385. for (int i = 0; i < 3; i++) {
  386. europe[t] = europe[t + 1];
  387. europe[t] = europe[3];
  388.  
  389.  
  390. }
  391.  
  392.  
  393.  
  394. int u, v, w, x;
  395. u = (int) Math.floor(Math.random() * 2);
  396. v = (int) Math.floor(Math.random() * 2);
  397. w = (int) Math.floor(Math.random() * 2);
  398. x = (int) Math.floor(Math.random() * 2);
  399. gROUPF[0] = seeds[u];
  400. gROUPF[1] = africa[v];
  401. gROUPF[2] = asia[w];
  402. gROUPF[3] = europe[x];
  403.  
  404. for (int i = 0; i < 2; i++) {
  405. seeds[u] = seeds[u + 1];
  406. seeds[u] = seeds[2];
  407.  
  408. }
  409.  
  410. for (int i = 0; i < 2; i++) {
  411. africa[v] = africa[v + 1];
  412. africa[v] = africa[2];
  413.  
  414. }
  415.  
  416. for (int i = 0; i < 2; i++) {
  417. asia[w] = asia[w + 1];
  418. asia[w] = asia[2];
  419.  
  420.  
  421. }
  422.  
  423.  
  424. for (int i = 0; i < 2; i++) {
  425. europe[x] = europe[x + 1];
  426. europe[x] = europe[2];
  427.  
  428.  
  429. }
  430.  
  431.  
  432. int y, z, A, B;
  433. A = (int) Math.floor(Math.random() * 1);
  434. y = (int) Math.floor(Math.random() * 1);
  435. z = (int) Math.floor(Math.random() * 1);
  436. B = (int) Math.floor(Math.random() * 1);
  437. gROUPG[0] = seeds[A];
  438. gROUPG[1] = africa[y];
  439. gROUPG[2] = asia[z];
  440. gROUPG[3] = europe[B];
  441.  
  442. for (int i = 0; i < 1; i++) {
  443. seeds[A] = seeds[A + 1];
  444. seeds[A] = seeds[1];
  445.  
  446. }
  447.  
  448.  
  449. for (int i = 0; i < 1; i++) {
  450. africa[y] = africa[y + 1];
  451. africa[y] = africa[1];
  452.  
  453. }
  454.  
  455. for (int i = 0; i < 1; i++) {
  456. asia[z] = asia[z + 1];
  457. asia[z] = asia[1];
  458.  
  459.  
  460. }
  461.  
  462.  
  463.  
  464. for (int i = 0; i < 1; i++) {
  465. europe[B] = europe[B + 1];
  466. europe[B] = europe[1];
  467.  
  468.  
  469. }
  470.  
  471.  
  472. int C, D, E, F;
  473. C = (int) Math.floor(Math.random() * 0);
  474. D = (int) Math.floor(Math.random() * 0);
  475. E = (int) Math.floor(Math.random() * 0);
  476. F = (int) Math.floor(Math.random() * 0);
  477. gROUPH[0] = seeds[C];
  478. gROUPH[1] = africa[D];
  479. gROUPH[2] = asia[E];
  480. gROUPH[3] = europe[F];
  481. for (int i = 0; i < 1; i++) {
  482. seeds[C] = seeds[C + 1];
  483. seeds[C] = seeds[0];
  484.  
  485. }
  486.  
  487. for (int i = 0; i < 1; i++) {
  488. africa[D] = africa[D + 1];
  489. africa[D] = africa[0];
  490.  
  491. }
  492.  
  493.  
  494. for (int i = 0; i < 1; i++) {
  495. asia[E] = asia[E + 1];
  496. asia[E] = asia[0];
  497.  
  498.  
  499. }
  500.  
  501.  
  502. for (int i = 0; i < 1; i++) {
  503. europe[F] = europe[F + 1];
  504. europe[F] = europe[0];
  505.  
  506.  
  507. }
  508.  
  509. System.out.println(" ");
  510. System.out.println(" GROUP A ");
  511. System.out.println(" -------");
  512. for (int G = 0; G < 4; G++) {
  513. System.out.println(gROUPA[G]);
  514. }
  515. System.out.println(" ");
  516.  
  517. System.out.println(" GROUP B ");
  518. System.out.println(" -------");
  519. for (int H = 0; H < 4; H++) {
  520. System.out.println(gROUPB[H]);
  521. }
  522. System.out.println(" ");
  523.  
  524. System.out.println(" GROUP C ");
  525. System.out.println(" -------");
  526. for (int I = 0; I < 4; I++) {
  527. System.out.println(gROUPC[I]);
  528. }
  529. System.out.println(" ");
  530. System.out.println(" GROUP D ");
  531. System.out.println(" -------");
  532. for (int J = 0; J < 4; J++) {
  533. System.out.println(gROUPD[J]);
  534. }
  535. System.out.println(" ");
  536. System.out.println(" GROUP E ");
  537. System.out.println(" -------");
  538. for (int K = 0; K < 4; K++) {
  539. System.out.println(gROUPE[K]);
  540. }
  541. System.out.println(" ");
  542. System.out.println(" GROUP F ");
  543. System.out.println(" -------");
  544. for (int L = 0; L < 4; L++) {
  545. System.out.println(gROUPF[L]);
  546. }
  547. System.out.println(" ");
  548. System.out.println(" GROUP G ");
  549. System.out.println(" -------");
  550. for (int M = 0; M < 4; M++) {
  551. System.out.println(gROUPG[M]);
  552. }
  553. System.out.println(" ");
  554. System.out.println(" GROUP H ");
  555. System.out.println(" -------");
  556. for (int N = 0; N < 4; N++) {
  557. System.out.println(gROUPH[N]);
  558. }
  559. System.out.println(" ");
  560. }
  561.  
  562. private static void fixtures(String gROUPA[], String gROUPB[], String gROUPC[], String gROUPD[], String gROUPE[], String gROUPF[], String gROUPG[], String gROUPH[]) {
  563.  
  564. System.out.print(" "); System.out.println(" FIXTURES ");
  565. System.out.print(" "); System.out.println(" -------- ");
  566.  
  567. int i=0,a=i+2;
  568. System.out.print(" "); System.out.println(" GROUP A ");
  569. System.out.print(" ");System.out.println(" -------- ");
  570. System.out.print(" "); System.out.println( gROUPA[i] + " vs " + gROUPA[2]);
  571. System.out.print(" "); System.out.println( gROUPA[a] + " vs " + gROUPA[a+1]);
  572. System.out.print(" "); System.out.println( gROUPA[i] + " vs " + gROUPA[a]);
  573. System.out.print(" "); System.out.println( gROUPA[i+1] + " vs " + gROUPA[a]);
  574. System.out.print(" "); System.out.println( gROUPA[i+1]+ " vs " + gROUPA[a+1]);
  575. System.out.print(" "); System.out.println( gROUPA[a+1] +" vs " + gROUPA[i]);
  576.  
  577.  
  578. System.out.println(" ");
  579.  
  580.  
  581. System.out.print(" "); System.out.println(" GROUP B ");
  582. System.out.print(" ");System.out.println(" -------- ");
  583. System.out.print(" "); System.out.println( gROUPB[i] + " vs " + gROUPB[i+1]);
  584. System.out.print(" "); System.out.println( gROUPB[a] + " vs " + gROUPB[a+1]);
  585. System.out.print(" "); System.out.println( gROUPB[i] + " vs " + gROUPB[a]);
  586. System.out.print(" "); System.out.println( gROUPB[i+1] + " vs " + gROUPB[a]);
  587. System.out.print(" "); System.out.println( gROUPB[i+1]+ " vs " + gROUPB[a+1]);
  588. System.out.print(" "); System.out.println( gROUPB[a+1] +" vs " + gROUPB[i]);
  589.  
  590.  
  591. System.out.println(" ");
  592.  
  593.  
  594. System.out.print(" "); System.out.println(" GROUP C ");
  595. System.out.print(" ");System.out.println(" -------- ");
  596. System.out.print(" "); System.out.println( gROUPC[i] + " vs " + gROUPB[i+1]);
  597. System.out.print(" "); System.out.println( gROUPC[a] + " vs " + gROUPC[a+1]);
  598. System.out.print(" "); System.out.println( gROUPC[i] + " vs " + gROUPC[a]);
  599. System.out.print(" "); System.out.println( gROUPC[i+1] + " vs " + gROUPC[a]);
  600. System.out.print(" "); System.out.println( gROUPC[i+1]+ " vs " + gROUPC[a+1]);
  601. System.out.print(" "); System.out.println( gROUPC[a+1] +" vs " + gROUPC[i]);
  602.  
  603.  
  604. System.out.println(" ");
  605.  
  606.  
  607. System.out.print(" "); System.out.println(" GROUP D ");
  608. System.out.print(" ");System.out.println(" -------- ");
  609. System.out.print(" "); System.out.println( gROUPD[i] + " vs " + gROUPD[i+1]);
  610. System.out.print(" "); System.out.println( gROUPD[a] + " vs " + gROUPD[a+1]);
  611. System.out.print(" "); System.out.println( gROUPD[i] + " vs " + gROUPD[a]);
  612. System.out.print(" "); System.out.println( gROUPD[i+1] + " vs " + gROUPD[a]);
  613. System.out.print(" "); System.out.println( gROUPD[i+1]+ " vs " + gROUPD[a+1]);
  614. System.out.print(" "); System.out.println( gROUPD[a+1] +" vs " + gROUPD[i]);
  615.  
  616.  
  617. System.out.println(" ");
  618.  
  619.  
  620. System.out.print(" "); System.out.println(" GROUP E ");
  621. System.out.print(" ");System.out.println(" -------- ");
  622. System.out.print(" "); System.out.println( gROUPE[i] + " vs " + gROUPE[i+1]);
  623. System.out.print(" "); System.out.println( gROUPE[a] + " vs " + gROUPE[a+1]);
  624. System.out.print(" "); System.out.println( gROUPE[i] + " vs " + gROUPE[a]);
  625. System.out.print(" "); System.out.println( gROUPE[i+1] + " vs " + gROUPE[a]);
  626. System.out.print(" "); System.out.println( gROUPE[i+1]+ " vs " + gROUPE[a+1]);
  627. System.out.print(" "); System.out.println( gROUPE[a+1] +" vs " + gROUPE[i]);
  628.  
  629.  
  630. System.out.println(" ");
  631.  
  632.  
  633. System.out.print(" "); System.out.println(" GROUP F ");
  634. System.out.print(" ");System.out.println(" -------- ");
  635. System.out.print(" "); System.out.println( gROUPF[i] + " vs " + gROUPF[i+1]);
  636. System.out.print(" "); System.out.println( gROUPF[a] + " vs " + gROUPF[a+1]);
  637. System.out.print(" "); System.out.println( gROUPF[i] + " vs " + gROUPF[a]);
  638. System.out.print(" "); System.out.println( gROUPF[i+1] + " vs " + gROUPF[a]);
  639. System.out.print(" "); System.out.println( gROUPF[i+1]+ " vs " + gROUPF[a+1]);
  640. System.out.print(" "); System.out.println( gROUPF[a+1] +" vs " + gROUPF[i]);
  641.  
  642.  
  643. System.out.println(" ");
  644.  
  645.  
  646. System.out.print(" "); System.out.println(" GROUP G ");
  647. System.out.print(" ");System.out.println(" -------- ");
  648. System.out.print(" "); System.out.println( gROUPG[i] + " vs " + gROUPG[i+1]);
  649. System.out.print(" "); System.out.println( gROUPG[a] + " vs " + gROUPG[a+1]);
  650. System.out.print(" "); System.out.println( gROUPG[i] + " vs " + gROUPG[a]);
  651. System.out.print(" "); System.out.println( gROUPG[i+1] + " vs " + gROUPG[a]);
  652. System.out.print(" "); System.out.println( gROUPG[i+1]+ " vs " + gROUPG[a+1]);
  653. System.out.print(" "); System.out.println( gROUPG[a+1] +" vs " + gROUPG[i]);
  654.  
  655. System.out.println(" ");
  656.  
  657.  
  658. System.out.print(" "); System.out.println(" GROUP H ");
  659. System.out.print(" ");System.out.println(" -------- ");
  660. System.out.print(" "); System.out.println( gROUPH[i] + " vs " + gROUPH[i+1]);
  661. System.out.print(" "); System.out.println( gROUPH[a] + " vs " + gROUPH[a+1]);
  662. System.out.print(" "); System.out.println( gROUPH[i] + " vs " + gROUPH[a]);
  663. System.out.print(" "); System.out.println( gROUPH[i+1] + " vs " + gROUPH[a]);
  664. System.out.print(" "); System.out.println( gROUPH[i+1]+ " vs " + gROUPH[a+1]);
  665. System.out.print(" "); System.out.println( gROUPH[a+1] +" vs " + gROUPH[i]);
  666.  
  667.  
  668.  
  669.  
  670.  
  671. }
  672. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement