Results 1 to 2 of 2
- 09-08-2011, 03: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, 03:53 AM #2
- By Adithi in forum New To JavaReplies: 3Last Post: 08-07-2011, 05:19 PM
- By bigsonny in forum New To JavaReplies: 10Last Post: 06-21-2011, 10:40 PM
- By java_kick in forum Advanced JavaReplies: 2Last Post: 04-06-2009, 11:28 PM
- By ankurdh in forum New To JavaReplies: 5Last Post: 01-08-2009, 08:28 AM
- By kantze in forum New To JavaReplies: 2Last Post: 03-19-2008, 01:44 PM