Well your code didn't import scanner like the tutorial suggested. I'm not sure why it didn't recognize scanner with my code but try switching java.util.*; with java.Scanner;. Otherwise I'm not quite sure why it won't work
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Threaded View
|
Click Here to Expand Forum to Full Width |