Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Well
i was wondering how to do this:Enter your membership
Normal = 1
Gold = 2
Platinum = 3If 1 goto normal;
if 2 goto gold;
if 3 goto platinum;normal:
printf("this is normal");gold:
printf("this is gold");platinum:
printf("this is platinum");so the question is..
how can i form to make it goes like
if input 1, then goto normal
if input 2, then goto gold
if input 3, then goto platinumwhat command can help doing this?

Read your input then code the switch-case-break statement to operate a multiple choice.
Sorry I can't go further but I am a skilled coder and I want you too become a good programmer. Use my hint and go on by your own.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |