Hello Ladies and Gentlemen, how are you all? I hope you all are good haha
now i wont waste your time in any formality etc and i'll get to the point.. our programming sir is a retard and he always give us work to do which he never taught us, for example i remember once in a class he defined "Array" and after just defining it, he told us to take 2 arrays and then swap it, LOLOL WTF? ok now he has given us a program which when executed will display this on screen
Press any key to continue.......
now before i go ahead, wtf should i use when any key is press the menu should be displayed?
well here's the Menu
G........for string operations
M........ for multiplication
now if u hit A or a a menu should come n do addition etc same for all which is easy but when u hit "G" another menu should come n it should display
and etc etc .. lol wtf? how do u do this? and also what do i need to put in start of program so when user press any key it should display the menu, n he also said after each thing is done for example if u hit a for addition n addiiton is done, it should ask u if u want to run it again or no, if u press y then it will run again if u hit n then it goes to menu, also he said "Do NOT use goto as its a poor programing practice" lol wtf so anyone who can help etc can post here
NOTE-:- PLEASE DO NOT POST IF YOU WOULD LIKE TO CRITICISE OR SAY SOME SMART CRAP LIKE "OMFG WE R NOT HERE TO DO UR HOMEWORK ETC" If you are not dumb you'll know that this is not doing my homework so yeah I repeat people who will criticise are not WELCOME to post, thanks
HOHO so waiting for some elite replies now :D