haha guys..anyway i finallyt figure how to do it..=D
Type: Posts; User: kahwei
haha guys..anyway i finallyt figure how to do it..=D
nynicue thx for ur code..=).....i change it a little and got it...TQ...=)....
yeah....its a C++ solution and i cant understand it...=(...i am just learning about Basic of C....But anyway thx for ur CODE 'ROCKERGAL"....=D..Hope u can translate it to C so i can understand it...
i tried using this method but still to no avail...=(.....
exit(0);
exit(EXIT_SUCCESS);
exit(EXIT_FAILURE);
hmmm...not sure coz this is the first time i come across this type of question...=X......Wat do u think then???
owh...sorry i didnt explain in more detail....=X...i meant i want the program to confirm the user action before quitting...???Like "R U SURE U WAN TO QUIT"???How am i suppose to do that??
GUYS do u have any idea which method is best used in this kind of situation?And how should i write the code??
PURCHASING MODULE
B – to purchase ticket for Business class
E – to purchase ticket...
GUYS which&where should i put the EXIT code in??Pls help..=(...Thx in advance...
#include<stdio.h>
void menu();
void submenu();
main()
{
menu();