User Profile

Collapse

Profile Sidebar

Collapse
thename1000
thename1000
Last Activity: Sep 30 '07, 02:14 AM
Joined: Sep 30 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • thename1000
    replied to Scanner Class help?
    in Java
    EDIT:

    I have gotten help from someone and he gave me the following code:

    import java.util.Array List;
    import java.util.List;
    import java.util.Scann er;



    class Tournament {

    public static void main (String[] args) {

    int numberOfTeams = 8;

    Scanner in = new Scanner(System. in);
    ...
    See more | Go to post

    Leave a comment:


  • thename1000
    started a topic Scanner Class help?
    in Java

    Scanner Class help?

    Hi,

    I'm trying to create this output:

    Input team 1's name:
    Team 1
    Input team 1's ranking:
    90.4
    etc.

    For 8 teams.

    This is what I have:


    import java.util.Scann er;

    public class Tournament {
    public static void main(String args[]) {
    System.out.prin tln("Input team 1's name:");
    Scanner a = new Scanner(System. in);...
    See more | Go to post
No activity results to display
Show More
Working...