Course Solutions Uncategorized (Solved) : Fix Issue First Menu Appers User Cannot Type Anything Except Numbers 1 5 User Tryto Type E Q30789482 . . . .

(Solved) : Fix Issue First Menu Appers User Cannot Type Anything Except Numbers 1 5 User Tryto Type E Q30789482 . . . .

 

How to fix this issue, when the first menu appers theuser cannot type anything except numbers between 1 to 5. So a usertryto type for example 8 or afhf or anything no action occurs andnothing appear on screen unless he type 1 or 2 or 3 or 4 or5.

#include
#include
#include

/*******************************************************************************
* List preprocessing directives – you may define your own.
*******************************************************************************/
#define MAX_FLIGHTCODE_LEN 6
#define MAX_CITYCODE_LEN 3
#define MAX_NUM_FLIGHTS 5
#define DB_NAME “database”

/*******************************************************************************
* List structs – you may define struct date and struct studentonly. Each
* struct definition should have only the fields mentioned in theassignment
* description.
*******************************************************************************/

struct date_time
{
int month;
int day;
int hour;
int minute;
};
typedef struct date_time date_time_t;

struct flight
{
char flightcode [MAX_FLIGHTCODE_LEN+1];
date_time_t

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post