![]() ![]() Int teamBScore = Integer.parseInt(scoreList. Int teamAScore = Integer.parseInt(scoreList.get(0)) ("Input number of clubs:\t") įor (int i = 0 i scoreList = new ArrayList(Arrays.asList(score.split(" "))) package com.standings īufferedReader input = new BufferedReader(new InputStreamReader(System.in)) ![]() I tried to write as naive solution as possible as you are a beginner. It enables developers to take advantage of the advanced Java 8 language constructs to quickly and easily upgrade applications. The result expected like this (result expected from the lecturer) NetBeans is created for developers who want to build applications in a fast and smart way by providing rich code analyzers, editors, and converters that support the latest Java technologies. ("How Many Clubs ? = ") ĭata = Integer.parseInt(input.readLine()) My basic code stuck in here: package standings īufferedReader input = new BufferedReader(new Anyone can help me please? I have just learned java by myself and COVID-19 makes studies difficult to meet up to my lecturer.įor anyone who reply this, thanks for the help :) I cannot really realise the hint that can guide me to the solution. But don't know how to use the array, looping function, integer/data from that input. I have tried to connect the whole knowledge that I have ever read from the textbook but it's not working good. ![]() I have an assignment (Java using Netbeans to input Club Name, Input Score, and then Print the table-like league standings.Įach line displays the outcome of our input, and show the standings like it should (CLUB Name with biggest point is on top of the table:Īnd displays the output of team records like this : ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |