Post Reply

[Q] Switch loop problem. Help needed.

OP bluescreenofdeath2014

26th July 2014, 01:25 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Jul 2014
So I'm currently learning java using the book: Java A Beginners Guide by Herbert Schildt.
I cant apply my knowledge of the switch to modify this program.
What i need is that the program runs the same but i can press q to stop the program and it will continue in a loop otherwise. repeating the same process i.e displaying the characters entered until q is pressed.
How do i do it?
I think i need to make use of do and while but no idea how to apply those in this case.
Please help.


Also i would appreciate it if someone could tell me when can i start learning android application development.
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	0
Size:	76.4 KB
ID:	2870575  
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Questions and Answers by ThreadRank