Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

scanner = new Scanner(System.in);

 
shawnyy ser
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
scanner = new Scanner(System.in);
scanner = new Scanner(System.in);
scanner = new Scanner(System.in);
scanner = new Scanner(System.in);
scanner = new Scanner(System.in);
 
Stuart A. Burkett
Ranch Hand
Posts: 679
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you have a question ?
NotACodeMill
 
shawnyy ser
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stuart A. Burkett wrote:Did you have a question ?
NotACodeMill


yes please i dont know how to start?....please help me!
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
shawnyy ser wrote:yes please i dont know how to start?....please help me!


Start here.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12202
35
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a question of "how to start" is still pretty vague.

Do you need help buying a computer to use?
Do you need help installing java?
Do you need help in writing, compiling, and testing a "Hello, World" program?
Do you need help with the math?

Assuming you only need help with this specific program, you would generally start with pencil and paper. Work through what your program would look like and print out on the screen. Figure out various methods that may be helpful...like generating a random number, or how to run something N times. Figure out what kinds of things you need to keep track of (total score, number of balls shot, etc). do all this ON PAPER.

Only when you have a good feel for the various components should you start writing a line of code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic