hi guys..i'm a newbie in programming.. anyone can help me? here's my problem i'm going to make a program lika an airline reservation and the user will enter his/her personal informations like name,age, and etc.. the user will be the one to choose either first class or economy..then if the user will choose first class the program will assign a seat.. if it is already full the program will asked "if it is ok to transfer in economy if the user will answer no.. it will display "the next flight will leave within 3 hours" and if the user will enter yes it will directly sign a seat..i'm required to used array.. and i'm using a netbeans IDE 6.1....
i have a code here.. but i know my code is lacking:
#include <stdio.h>
#include <stdlib.h>
/*
*
*/
int main(int argc, char** argv) {
char fnem[30],gender[6],a,m;
int choice,age,i,method;
If you have a specific error or need a specific push somewhere then please tell us that. Don't just give us a problem and post some code, we can't help if that's all you do.
What does this code not do that you need it to?
And where do you not understand what you need to do?