Results 1 to 2 of 2
- 09-08-2011, 04:49 AM #1Member
- Join Date
- Sep 2011
- Rep Power
I have written a Calculator program(attached below).
I have a line choice = (char)System.in.read(); in a while loop.
The line executes during the first iteration of the loop but is simply skipped during the second iteration onwards.
Any suggestions to solve this problem.
- 09-08-2011, 04:53 AM #2
- By Adithi in forum New To JavaReplies: 3Last Post: 08-07-2011, 06:19 PM
- By bigsonny in forum New To JavaReplies: 10Last Post: 06-21-2011, 11:40 PM
- By java_kick in forum Advanced JavaReplies: 2Last Post: 04-07-2009, 12:28 AM
- By ankurdh in forum New To JavaReplies: 5Last Post: 01-08-2009, 09:28 AM
- By kantze in forum New To JavaReplies: 2Last Post: 03-19-2008, 02:44 PM