how do i make this program?

Reply

Join Date: Mar 2009
Posts: 6
Reputation: weinyeong is an unknown quantity at this point 
Solved Threads: 0
weinyeong weinyeong is offline Offline
Newbie Poster

Re: how do i make this program?

 
0
  #11
Mar 23rd, 2009
and how do i make my case 'A' and 'B'?
i suck at this
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 823
Reputation: verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough verruckt24 is a jewel in the rough 
Solved Threads: 73
verruckt24's Avatar
verruckt24 verruckt24 is offline Offline
Practically a Posting Shark

Re: how do i make this program?

 
0
  #12
Mar 23rd, 2009
The same way that you have made the original menu, you can make the sub menus. So that when the menu choice A is selected you show the sub-menus for A and same for B.
Get up every morning and take a look at the Forbes' list of richest people. If your name doesn't appear.... GET TO WORK !!!
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: how do i make this program?

 
0
  #13
Mar 23rd, 2009
but if you do that, don't use:
  1. switch(choice){
  2. case 1: //your code
  3. break;
  4. case 2: // your code
  5. break;
  6. case 3: // your code
  7. break;
  8. }
simply, because if you enter 'A', 'B' or 'C', the switch will never have
the values '1' '2' or '3'.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC