Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Java Problem for real java programmer
#1
hey guys ive been working for this code to run for about 7 hours,.. actually it was been half a year after i stop java but now im trying to do this peice of program,..

here is the deal:

MENU:
1. Push(when you enter 1 you should input a single number and and then automatically go back to the , to the menu and then display under the menu the number you input , you can input up to 10 numbers and when you reach 10 it should display that "cannot enter anymore 10 units was already reach")
2.Pop(when you enter 2, the last number you did enter will automatically be delete and then automatically go back again to the menu. )
3. Exit(this is the only time you can exit the program because when you press 1 or 2 it will only go back to the menu after each transaction. )

this is how the menu looks like

1.Push
2.Pop
3.Exit
Input Display:
9
2
6

note: the 9,2, and 6 was just example that if you press 1 then you input 6 and go back to the menu, press 1 again and input 2 go back to the menu again, and then press1 and input 9 and go to menu again

then if you press 2 the 9 will be deleted
and automatically back to the menu and should look like this:

1.Push
2.Pop
3.Exit
Input Display:
2
6

i hope you guys can help me with this,..
Reply


Messages In This Thread
Java Problem for real java programmer - by Testgamma1 - 12-11-2009, 07:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Sam's Teach Yourself Java in 21 Days? Grizzly 22 9,899 04-16-2019, 09:39 AM
Last Post: joeywilliams
  Beginning Java Miku 2 1,428 07-25-2017, 01:19 AM
Last Post: byteshubb
  Minecraft in java. Denny Crane 12 3,617 11-05-2012, 03:55 PM
Last Post: Nickelodeon
  java GUI ? prince76 8 2,927 03-22-2012, 08:55 AM
Last Post: redpois0n
  [ Java Tutorials and Guides ] prince76 7 1,939 02-28-2012, 09:34 AM
Last Post: ven0m

Forum Jump:


Users browsing this thread: 1 Guest(s)