J
James
Hi,
I need to create a program that prompts the user to either select
options 1,2,3 or 4, or type end to end the program. The user must be
able to select any option as may times as he or she wants, unitl
he/she types end. I've got a switch going, (as well as using a while
to repeat the switch) and I'm aware it only accepts ints, so i was
thinking of putting an if/else statement around it, something like if
the input is an int, do the switch, else close the program. can anyone
help me?
Thanks,
James
I need to create a program that prompts the user to either select
options 1,2,3 or 4, or type end to end the program. The user must be
able to select any option as may times as he or she wants, unitl
he/she types end. I've got a switch going, (as well as using a while
to repeat the switch) and I'm aware it only accepts ints, so i was
thinking of putting an if/else statement around it, something like if
the input is an int, do the switch, else close the program. can anyone
help me?
Thanks,
James