The Artima Developer Community
Sponsored Link

Java Answers Forum
Java - Lotto

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
A D

Posts: 1
Nickname: progger
Registered: Jul, 2016

Java - Lotto Posted: Jul 7, 2016 6:27 AM
Reply to this message Reply
Advertisement
Hi, im new to java and have no idea how to start. Basically, my program has to be able to read 7 numbers in each row, from a text file and then count how many match of them from each row match the "Winning numbers". For example if the seven winning numbers are 1,2,3,4,5,6,7 and the numbers in one row of file are 2,9,20,1,4,6,10 - then it has to be able to recognise that only 4 numbers match the winning ones. I know that a scanner and maybe array has to be used

Topic: please help Previous Topic   Next Topic Topic: Help For these Java Programs!

Sponsored Links



Google
  Web Artima.com   

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