The Artima Developer Community
Sponsored Link

Java Answers Forum
Strike!!!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Sun seung baek

Posts: 1
Nickname: eagerlearn
Registered: Jan, 2003

Strike!!! Posted: Jan 5, 2003 6:46 AM
Reply to this message Reply
Advertisement
I am trying to make very simple number baseball program which compare 3 numbers in array and calculate the result in strike ball and out.
for example if randomly generated numbers are 154 and each number is stored in answer[] using rand.nextInt(10)
and and My input is c:\>134 in command line not as perameters
I used System.in.read() method to store number from command line my problem is... with randomly generated int array and console inputted array I can't compare...I don't know why...
can anybody tell me what's wrong and how can I solve this problem??

Topic: Thread stop Previous Topic   Next Topic Topic: JDBC setObject prob

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use