Hi everyone, I just want to ask if how i am able to make an if else statement inside a switch case. i want to execute something wherein the user may be able to choose again if he/she would like to do another transaction. for example, the user choose Yes the program will automatically display the main menu option and if the user doesn't want another the program will automatically print "Thankyou for using the program"
asfghjkl
0
Newbie Poster
Recommended Answers
Jump to PostWhat rproffitt is referring to is that you tagged c++, java, python, javscript, and VB6 when you created this thread. What language are you actually referring to? It might be a case of just being a new user of the site.
That being said, you can do something like this:
…
All 4 Replies
rproffitt
2,580
"Nothing to see here."
Moderator
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
stultuske
1,116
Posting Maven
Featured Poster
kasmar45
0
Newbie Poster
Premium Member
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.