I'm doing a uni course in the UK and one of my semesters is about
programming. This is just going to be compilied and executed with no menu
just using command promt (javac classfile.class )
I am not that good at programming but what I need to know is in java how
would i do this........... .......
menu appears, user selects menu option (1,2,3,4,5,6) a new menu appears
after selecting option 1 asking the user to select another option
(A.B.C.D.E.F).. ... What I need to know is will this be a IF
statement...... ..
If (Variable1 = = '1')
{
do this line
{
if (Variable = = '2)
do this line
(
if (Variable = = '3')
{
do this line E.T.C for each variable.
What i need to do is let the user choose from the first menu and then be
able to select a second menu, but i dont no how to call the second menu for
more than option 1, so if a user selects 2 how do i call it aswell. ? I hope
you can understand what I mean. If not then please ask me what you need to
know and i will try and help to help you understand what i mean.
Thanks
programming. This is just going to be compilied and executed with no menu
just using command promt (javac classfile.class )
I am not that good at programming but what I need to know is in java how
would i do this........... .......
menu appears, user selects menu option (1,2,3,4,5,6) a new menu appears
after selecting option 1 asking the user to select another option
(A.B.C.D.E.F).. ... What I need to know is will this be a IF
statement...... ..
If (Variable1 = = '1')
{
do this line
{
if (Variable = = '2)
do this line
(
if (Variable = = '3')
{
do this line E.T.C for each variable.
What i need to do is let the user choose from the first menu and then be
able to select a second menu, but i dont no how to call the second menu for
more than option 1, so if a user selects 2 how do i call it aswell. ? I hope
you can understand what I mean. If not then please ask me what you need to
know and i will try and help to help you understand what i mean.
Thanks
Comment