a industrial training project report on · pdf file · 2015-05-11a industrial...

37
Downloaded from www.careergyaan.org Downloaded from www.careergyaan.org A INDUSTRIAL TRAINING PROJECT REPORT ON ”TOURIST BUS OPERATOR” SUBMITTED IN PARTIAL FULFILMENT OF THE REQUIREMENTS FOR THE DEGREE OF BACHELOR OF TECHNOLOGYs IN ELECTRICAL & ELECTRONICS ENGINEERING (2007-2011)

Upload: phungnguyet

Post on 20-Mar-2018

214 views

Category:

Documents


1 download

TRANSCRIPT

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

A

INDUSTRIAL TRAINING PROJECT REPORT

ON

”TOURIST BUS OPERATOR”SUBMITTED IN PARTIAL FULFILMENT OF THE

REQUIREMENTS FOR THE DEGREE OF

BACHELOR OF TECHNOLOGYs

IN

ELECTRICAL & ELECTRONICS ENGINEERING

(2007-2011)

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

ORGANIZATION PROFILE

Tectonics offers a range of products that are frequently accessed and used by mobileoperators and consumers. By combining, SMS, IVR with speech recognition and WAPtechnologies and offering services over GSM as well as CDMA. The user-friendliness ofthese products ensures that service providers generate higher revenues and ensures arich and delightful user experience.

We offer:

IT Business Solutions

VAS

Messaging

Call Management

M-Commerce

ERP

Our services have been deployed for a number of Telecom Operators and Corporate toenhance operational efficiency, reduce expenses and implement innovative revenue-enhancing opportunities.

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

About Us

TECTONICS is a gathering of people - at a common place - for a common purpose - forcreating an honest, sincere, genuine, down-to-earth atmosphere - with a fieryunconventional and soothing innovativeness with the purpose of providing the completebusiness solution on the latest technologies - where each member of the gathering iswith you, till you don’t need them in any way - till you achieve - What you had come toachieve from TECTONICS.

Tectonics (Tectonics Technologies Pvt. Ltd.) was incorporated in the year 1995. with anobjective of providing an integrated system solution and to impart training to individualsand to corporate houses, to full fill this objective a development center was setup by agroup of dynamic software professionals and management consultants, presently theteam consists of software professional’s experts in Technology Domain and FunctionalKnowledge.

Vision

To develop a strong Client base with an equally effective Support structure which actsas a catalyst for effective deployment of futuristically complete and credible IT solutions.We strive to achieve this by focusing individually on each project and build a healthyrelationship with our customers.

Team

Tectonics has assembled a core group of Management consultants, engineers anddevelopers, all at the top of their field. Each member brings a unique set of skills andexperience to the Tectonics team, allowing us to meet the various needs andchallenging demands of our clients. The technical and business knowledge of the teamcombined with our dedication to producing only the highest quality work is one keyfactor that sets us apart from the competition.

Service

"Total customer satisfaction" is our motto. We view every customer as a customer forlife. You will receive expert service and professional advice from the moment we answeryour call or email. Our knowledgeable account managers will guide you through yourwhole experience with and continue to be your point of contact after the sale. Inaddition, with "the ultimate in tech support" available, our highly trained Technical staffis ready and eager to help you with any problems that arise. Your complete and totalsatisfaction is our greatest ambition!

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

Quality

Tectonics an ISO 9001 : 2000 Certified company is committed to quality. Quality is acomprehensive & fundamental rule or belief, for leading & operating an organization.And this helps in continually improving performance over the long term. Our qualityassurance program is geared to ensure that every Software is thoroughly tested beforeit is released for production. We believe in providing a high quality solution atcompetitive prices, after all, we seek a long-term relationship with our customers.

Mission

To provide solutions that add quality and value to our customers business, leveragingadvanced technology in IT industry. The team at Tectonics is well qualified, stronglymotivated and the infrastructure setup is state-of-the-art. All this summed up with aninteresting work environment to deliver quality solutions, in a timely manner!

Tectonics Culture

· Communications - Crisp, timely and accurate· Quality - Do it right the first time.· Sales - Our customers come first.· Commitments - Are to be met on time.· Decisiveness - Take action rather than procrastinate.· Change - If it works, make it work better. If it's broken, fix it.· Consistency - Improvement each and every day.· Delegation - Assign responsibility to the appropriate level.· Recognition - Say "thank you" and "you're welcome".· Teamwork - Everyone pulling in the same direction.· Accountability - Be responsible for what you are supposed to do.

Business Solution

Tectonics is an IT services company specializing in the delivery of intelligentbusiness solutions. We are dedicated to helping your business, by creating a creativeand effective solution at an affordable price. We provide the services you need tosucceed.

We are an experienced and professional marketing solutions firm with a focus onproviding positive business results. We have partnered with a number of clients to

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

provide solutions that are professional, appealing, informative, user-friendly, andaccessible.

Bridging the gap between business and technology, Tectonics applies world-classconsultancy and unrivalled engineering skills to deliver innovative and dependablesolutions that address real business needs.

VAS

Tectonics creates innovative, timely, and compelling solutions that enable serviceproviders to unleash the full power of mobile communications along with maintainingcustomers delight and ensuring higher revenues for operators.Tectonics products are standards based and easy to integrate into the operator’snetwork environment. Tectonics acts for operators as an end-to-end service deliverypartner.

Messaging

Tectonics feature-rich, modularized messaging platforms ensure the smooth delivery oftext and multimedia based messages, whether P2P or A2P.Tectonics interactivity solutions enable an improved user experience via self-careapplications.

M-Commerce

By Grouping all the modes of interaction on mobile like DTMF ,Voice , WAP and SMSTectonics has made M-commerce Transactions very easy to use and customerfriendly. Tectonics M-Commerce solutions are characterized by its simplicity, and aManaged Services model that takes full responsibility for the technology, security,integration with all participants, service delivery and customer support as well.

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

ERP

School Net (School Enterprise Resource Planning) works with your current systems andleverages existing technology. It centralizes the data and automates routingadministrative functions.

School Net is the best choice for educational institutions who want to graduate from apeople driven institution to a system-driven institution. School Net empowers theinstitution in achieving higher efficiency in operations, effective management, better co-ordination and optimum utilization of available resources by providing accurate andrelevant information 24X7.

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

OBJECTIVE

It is a Menu based program in which we ask user to give his choice. A menu is

displayed in which there are options like time table, reservation, add remove route etc.

The control is passes to the module which is associated with the choice selected by

the user.

If the option is for add remove route, a menu prompts for a choice to add or remove

route. If the choice is to add route then the user is asked several questions about

Route no, No. of Bus, Starting Pt., Destination, Fare & Departing Time & the format of

each input is checked. If the format is not correct then the user is asked to give input

in required format like date is required in format of dd/mm/yyyy. The given record is

checked with the stored records, if the record exists an error message is displayed

stating that the record already exists. If the record does not exist then the time-tab file

is opened in which record is written. Then the user is asked if he want to insert more

records, if the answer is yes then the whole procedure is repeated else the file is

closed & the control passes back to the main program.

If the option is for remove route then the user is asked to give route no. of the record

of the route to be deleted. Then the record is searched in the file if it exists or not. If it

does not exist an error message is displayed. If the required exist a conformation is

demanded that ‘Are you sure you want to delete this route'. If the answer is yes then

the deleting of record is done. The route record is deleted from time-tab file. The user

is asked if he want to delete more records. If the answer is yes the whole procedure is

repeated else the program control is passed back to main program.

If the user want to reserve seats in a route then the several inputs are required i.e.

information about Date of Journey, Route no. & no. of passengers i.e. no. of seats to

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

be reserved. If the information is valid and correct the file is checked for the no. of

available seats. If less no. of seats are available then the no. of available seats is

displayed else the information about passengers is asked like name of passenger,

sex, age etc. it is continued until the input about all passengers is got. The records are

written into the file.

If the user want to cancel seats in a route then the several inputs are required i.e.

information about Route no. & seat no. If the information is valid and correct the file is

checked for that seat. If the give input is correct than the record corresponding to that

seat is deleted. Then the user is asked if he want to delete more seats. If the answer

is yes then this procedure is continued until the required no. of seats gets deleted. The

records are deleted into the file.

In case of Inquiry the user is asked to give the Date of Journey & Route no. Then all

the records are displayed in which user can get the required information.

In case of preponment the user is asked to give the required information about Date

of Journey, Route no., Starting Pt., destination & Seat no. & To Date to be transferred

to an earlier date. The Starting Pt. & destination are compared with all the other

records of the required date. If the places exist on any route on that date then the

record of that seat no. are transferred to that date otherwise an error message is

displayed.

In case of postponement the user is asked to give the required information about

Date of Journey, Route no., Starting Pt., destination & Seat no. & To Date to be

transferred to an post date. The Starting Pt. & destination are compared with all the

other records of the required date. If the places exist on any route on that date then

the record of that seat no. are transferred to that date otherwise an error message is

displayed.

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

CLASS DIAGRAMS

Add Remove Route

Operator

date : Datetime : Numberroute : Number

norec()get_Date()

get_Time()

print_Time()

AddRem

add()

rem()

Route Record

Route no

Bus no

Startingpt.

has

1 1...*

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

CLASS DIAGRAMS

Reservation Process

Basedatetimerouteprecnorec()get_Date()get_Time()

print_Time()

Reserve

r,i,j : intfname[13] :char

reserve()

Seat record

Seat no :intPassname:charSex:charAge:int

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

CLASS DIAGRAMS

Preponment Process

Postonment Process

operator

date : Datetime : Numberroute : Number

norec()get_Date()

get_Time()

print_Time()

prepone

prepone()

operator

date : Datetime : Numberroute : Number

norec()get_Date()get_Time()print_Time()

postpone

postpone()

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

// PROGRAM FOR TRAVEL AGENCY RESERVATION SYSTEM

#include<stdio.h>

#include<iostream.h>

#include<conio.h>

#include<ctype.h>

#include<string.h>

#include<dos.h>

#include<io.h>

#include<graphics.h>

#define FULL 40 //TOTAL NO. OF SEATS IN A BUS

class addrem{

protected:

struct date

{

int dd;

int mm;

int yy;

}p;

struct time

{

int hh;

int mm;

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

}t;

struct route

{

int rno;

char busno[11];

char start[15];

char dest[15];

time dtime;

float fare;

}rt1,rt2;

struct prec

{

char name[25];

char sex;

int age;

int sno;

};

public :

void get_time(struct time *);

void printime(struct time);

int norec();

void add(void);

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

void rem(void);

void get_date(struct date *);

void t_tab(void);

void plist(void);

void cancel(void);

};

class reserve: public addrem{

public:

void reserve1(void);

};

void main(void)

{

addrem a,b;

reserve r;

int y=10,gd=DETECT,gm;

char c;

initgraph(&gd,&gm,"");

do{

do

{

textbackground(BLACK);

textcolor(BLACK);

clrscr();

cout<<"\n\n\n\n\n\n\n\n\n\t\t\t\tTIME-TABLE\n";

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

cout<<"\t\t\t\tRESERVATION\n";

cout<<"\t\t\t\tCANCELATION\n";

cout<<"\t\t\t\tINQUIRY\n";

cout<<"\t\t\t\tADD/REMOVE ROUTES\n";

cout<<"\t\t\t\tQUIT\n\n";

gotoxy(1,y);

cout<<"\t\t\t==>>";

gotoxy(78,25);

fflush(stdin);

c=getch();

if(c==72)

{

if(y==10) y=15;

else --y;

}

if(c==80)

{

if(y==15) y=10;

else ++y;

}

sound(800);

delay(30);

nosound();

}while(c!=13);

switch(y)

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

{

case 10 :a.t_tab();

break;

case 11 :r.reserve1();

break;

case 12 :b.cancel();

break;

case 13 :a.plist();

break;

case 14 :

do

{

clrscr();

cout<<"\n\n\n\n\n\n\n\n\n\t\t\t\tADD ROUTE\n\n";

cout<<"\t\t\t\tREMOVE ROUTE\n\n";

cout<<"\t\t\t\tQUIT";

cout<<"\n\t\tEnter choice==>>";

cin>>y;

switch(y)

{

case 1:a.add();

break;

case 2:b.rem();

break;

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

case 3:break;

}

}while(y!=3);

break;

default:

break;

}

}while(y!=15);

textbackground(BLACK);

textcolor(LIGHTGRAY);

clrscr();

closegraph();

}

void addrem::get_time(struct time *t)

{

char s[6];

do

{

do

{

fflush(stdin);

gets(s);

if( !isdigit(s[0]) || !isdigit(s[1]) || s[2]!=':'

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

|| !isdigit(s[3]) || !isdigit(s[4]) || s[5]!='\0' )

cout<<"INVALID FORMAT\nENTER NEW TIME(HH:MM) : ";

}while( !isdigit(s[0]) || !isdigit(s[1]) || s[2]!=':'

|| !isdigit(s[3]) || !isdigit(s[4]) || s[5]!='\0' );

t->hh=10*(s[0]-'0')+(s[1]-'0');

t->mm=10*(s[3]-'0')+(s[4]-'0');

if(t->hh<0||t->hh>23||t->mm<0||t->mm>59)

cout<<"INVALID TIME\nENTER NEW TIME(HH:MM) : ";

}while(t->hh<0||t->hh>23||t->mm<0||t->mm>59);

}

void addrem::printime(struct time t)

{

cout<<t.hh<<":"<<t.mm;

};

void addrem::add(void)

{

FILE *fp1,*fp2;

addrem a,b;

int i,flag;

char ch;

clrscr();

do{

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

cout<<"\n\t\tADDING NEW ROUTE\n\n";

cout<<"\nROUTE NO. : ";

cin>>rt1.rno;

cout<<"BUS NO. : ";

fflush(stdin);

gets(rt1.busno);

for(i=0;rt1.busno[i]!='\0';i++) rt1.busno[i]=toupper(rt1.busno[i]);

cout<<"STARTING POINT : ";

fflush(stdin);

gets(rt1.start);

for(i=0;rt1.start[i]!='\0';i++) rt1.start[i]=toupper(rt1.start[i]);

cout<<"DESTINATION : ";

fflush(stdin);

gets(rt1.dest);

for(i=0;rt1.dest[i]!='\0';i++) rt1.dest[i]=toupper(rt1.dest[i]);

cout<<"FARE : ";

cin>>rt1.fare;

cout<<"DEPARTING TIME(HH:MM) : ";

a.get_time(&rt1.dtime);

if(access("time-tab",0)==0)

{

flag=0;

fp1=fopen("time-tab","rb");

fp2=fopen("temp","wb");

for(;;)

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

{

fread(&rt2,sizeof(route),1,fp1);

if(feof(fp1))

{

if(flag==0) fwrite(&rt1,sizeof(route),1,fp2);

break;

}

if((rt1.rno<rt2.rno)&&(flag!=1))

{

fwrite(&rt1,sizeof(route),1,fp2);

flag=1;

}

if(rt1.rno==rt2.rno)

{

cout<<"\nRECORD ALREADY EXISTS\n";

flag=1;

}

fwrite(&rt2,sizeof(route),1,fp2);

}

fclose(fp1);

fclose(fp2);

remove("time-tab");

rename("temp","time-tab");

}

else

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

{

fp1=fopen("time-tab","wb");

fwrite(&rt1,sizeof(route),1,fp1);

fclose(fp1);

}

cout<<"\nDO YOU WANT TO INSERT MORE (Y/N) : ";

fflush(stdin);

ch=getchar();

}while(ch=='y'||ch=='Y');

}

void addrem::rem(void)

{

FILE *fp1,*fp2;

addrem a,b;

int flag,rno;

char ch,c;

if(a.norec()==1) return;

do

{

clrscr();

cout<<"\n\t\tREMOVING ROUTES\n\n";

cout<<"\nENTER THE ROUTE NO. : ";

cin>>rno;

flag=0;

fp1=fopen("time-tab","rb");

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

fp2=fopen("temp","wb");

for(;;)

{

fread(&rt1,sizeof(route),1,fp1);

if(feof(fp1)) break;

if(rno==rt1.rno)

{

flag=1;

fflush(stdout);

cout<<"\nBUS NO. : "<<rt1.busno<<endl;

fflush(stdout);

cout<<"STARTING POINT : "<<rt1.start<<endl;

fflush(stdout);

cout<<"DESTINATION : "<<rt1.dest<<endl;

fflush(stdout);

cout<<"FARE : "<<rt1.fare<<endl;

cout<<"DEPARTING TIME(HH:MM) : ";

a.printime(rt1.dtime);

cout<<"\n";

cout<<"\nARE YOU SURE YOU WANT TO DELETE THIS RECORD (Y/N) : ";

fflush(stdin);

c=getchar();

if(c=='n'||c=='N')

{

fclose(fp1);

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

fclose(fp2);

remove("temp");

return;

}

}

if(rno!=rt1.rno) fwrite(&rt1,sizeof(route),1,fp2);

}

if(flag!=1) cout<<"\nNO SUCH RECORD EXISTS\n";

fclose(fp1);

fclose(fp2);

remove("time-tab");

rename("temp","time-tab");

cout<<"\nDO YOU WANT TO DELETE MORE (Y/N) : ";

fflush(stdin);

ch=getchar();

}while(ch=='y'||ch=='Y');

}

int addrem::norec(void)

{

if(access("time-tab",0)!=0)

{

clrscr();

cout<<"NO RECORD EXISTS";

getch();

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

return(1);

}

else return(0);

}

void addrem::get_date(struct date *d)

{

char s[11];

int valid,i;

do

{

do

{

valid=1;

fflush(stdin);

gets(s);

if(s[2]!='/'||s[5]!='/'||s[10]!='\0') valid=0;

for(i=0;i<10;i++) if(i!=2&&i!=5&&!isdigit(s[i])) valid=0;

if(!valid) cout<<"INVALID FORMATENTER NEW DATE(DD:MM:YYYY) : ";

}while(!valid);

d->dd=10*(int)(s[0]-'0')+(int)(s[1]-'0');

d->mm=10*(int)(s[3]-'0')+(int)(s[4]-'0');

d->yy=1000*(int)(s[6]-'0')+100*(int)(s[7]-'0')+10*(int)(s[8]-'0')+(int)(s[9]-'0');

if(d->dd<1||d->dd>31||d->mm<1||d->mm>12)

cout<<"INVALID DATEENTER NEW DATE(DD:MM:YYYY) : ";

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

}while(d->dd<1||d->dd>31||d->mm<1||d->mm>12);

}

void reserve::reserve1(void)

{

addrem l,m;

int r,i,j;

char fname[13];

FILE *fp1,*fp2;

struct prec p,p1;

struct date d;

clrscr();

cout<<"DATE OF JOURNEY(DD/MM/YYYY) : ";

l.get_date(&d);

cout<<"ROUTE NUMBER : ";

cin>>r;

for(i=1;i>=0;i--)

{

fname[i]=(char)('0'+d.dd%10);

d.dd/=10;

}

for(i=3;i>=2;i--)

{

fname[i]=(char)('0'+d.mm%10);

d.mm/=10;

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

}

for(i=7;i>=4;i--)

{

fname[i]=(char)('0'+d.yy%10);

d.yy/=10;

}

fname[8]='.';

for(i=11;i>=9;i--)

{

fname[i]=(char)('0'+r%10);

r/=10;

}

fname[12]='\0';

cout<<"NUMBER OF PASSENGERS : ";

cin>>r;

j=0;

if(access(fname,0)==0)

{

fp1=fopen(fname,"rb");

while(1)

{

fread(&p1,sizeof(prec),1,fp1);

if(feof(fp1)) break;

++j;

}

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

fclose(fp1);

}

if(FULL-j<r)

{

cout<<"\nSORRY ONLY %d SEATS ARE AVILABLE",FULL-j;

getch();

}

else{

fp1=fopen(fname,"ab");

for(i=1;i<=r;i++,j++)

{

cout<<"\nNAME OF PASSENGER "<<i<<"::";

fflush(stdin);

gets(p.name);

cout<<"SEX : ";

do

{

fflush(stdin);

p.sex=toupper(getchar());

if(p.sex!='M'&&p.sex!='F')

cout<<"INVALID INPUT\nENTER M OR F : ";

}while(p.sex!='M'&&p.sex!='F');

cout<<"AGE : ";

do

{

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

scanf("%d",&p.age);

if(p.age<1) cout<<"INVALID INPUT\nENTER CORRECT AGE : ";

}while(p.age<1);

p.sno=j;

fwrite(&p,sizeof(prec),1,fp1);

}

fclose(fp1);

}//for

}

void addrem::cancel(void)

{

}

void addrem::plist(void)

{

FILE *fp1,*fp2;

int i,r;

prec p;

struct date d;

char fname[11];

clrscr();

cout<<"DATE OF JOURNEY(DD/MM/YYYY) : ";

get_date(&d);

cout<<"ROUTE NUMBER : ";

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

cin>>r;

for(i=1;i>=0;i--)

{

fname[i]=(char)('0'+d.dd%10);

d.dd/=10;

}

for(i=3;i>=2;i--)

{

fname[i]=(char)('0'+d.mm%10);

d.mm/=10;

}

for(i=7;i>=4;i--)

{

fname[i]=(char)('0'+d.yy%10);

d.yy/=10;

}

fname[8]='.';

for(i=11;i>=9;i--)

{

fname[i]=(char)('0'+r%10);

r/=10;

}

fname[12]='\0';

if(access(fname,0)!=0) cout<<"NO RECORD EXISTS";

else

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

{

fp1=fopen(fname,"rb");

cout<<"\n\n";

cout<<"SEAT# "<<"\t NAME ";

cout.width(10);

cout<<" SEX " <<" AGE "<<endl;

for(;;)

{

fread(&p,sizeof(prec),1,fp1);

if(feof(fp1)) break;

cout<<" "<<p.sno<<" ";

cout.width(10);

cout<< p.name;

cout.width(10);

cout<<" "<<p.sex<<" "<<p.age<<endl;

}

}

getch();

}

void addrem::t_tab(void)

{

FILE *fp1,*fp2;

if(norec()==1) return;

clrscr();

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

fp1=fopen("time-tab","rb");

cout<<"________________________________________";

cout<<"________________________________________\n";

cout<<"ROUTE"<<"\t BUS NO."<<" STARTING"<<"\t DESTINATION"<<"\t FARE"<<endl;

cout<< "NO. "<<"\t "<<" POINT "<<"\t\t"<<"\t (RS.)";

printf("________________________________________");

printf("________________________________________\n\n");

for(;;)

{

fread(&rt1,sizeof(route),1,fp1);

if(feof(fp1)) break;

cout<<rt1.rno<<"\t";

cout.width(10);

cout<<rt1.busno<<"\t"<<rt1.start<<"\t";

cout.width(10);

cout<<rt1.dest<<"\t";

cout.width(10);

cout<<rt1.fare;

cout<<"\n";}

cout<<"\n________________________________________";

cout<<"________________________________________\n\n";

fclose(fp1); getch();}

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

DATA DICTIONARY

System : Tourist Bus Operator

Name of report : Alphabetic Time Table List

Element Name Length Data Type FormatRoute no. 3 NumericBus no. 8 NumericStarting Pt. 25 Alphanumeric

Destination 25 AlphanumericDate 10 Numeric Dd/mm/yyyyFare 4 NumericDeparture Time 8 Numeric hh:mm

System : Tourist Bus Operator

Name of report : Inquiry List

Element Name Length Data Type FormatRoute no. 3 NumericStarting Pt. 25 AlphanumericDestination 25 AlphanumericDate 10 Numeric Dd/mm/yyyyDeparture Time 8 Numeric hh:mm

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

DATA DICTIONARY

System : Tourist Bus Operator

Name of report : Reservation List

Element Name Length Data Type FormatStarting Pt. 25 AlphanumericDestination 25 AlphanumericDate 10 Numeric Dd/mm/yyyyNo. of seats 2 Numeric

System : Tourist Bus Operator

Name of report : Cancellation List

Element Name Length Data Type FormatRoute no. 3 NumericSeats no. 2 Numeric

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

DATA DICTIONARY

System : Tourist Bus Operator

Name of report : Remove Route List

Element Name Length Data Type FormatRoute no. 3 Numeric

System : Tourist Bus Operator

Name of report : Add route List

Element Name Length Data Type FormatRoute no. 3 NumericBus no. 8 NumericStarting Pt. 25 AlphanumericDestination 25 AlphanumericFare 4 NumericDeparture Time 8 Numeric hh:mm

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

DATA DICTIONARY

System : Tourist Bus Operator

Name of report : Alphabetic Preponment List

Element Name Length Data Type FormatRoute no. 3 NumericDate 10 Numeric Dd/mm/yyyySeat no. 3 NumericTo Date 8 Numeric Dd/mm/yyyy

System : Tourist Bus Operator

Name of report : Alphabetic Postponment List

Element Name Length Data Type FormatRoute no. 3 NumericDate 10 Numeric Dd/mm/yyyySeat no. 3 NumericTo Date 8 Numeric Dd/mm/yyyy

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

DATA DICTIONARY

System : Tourist Bus Operator

Name of report : Alphabetic Time Table List

Element Name Length Data Type

Route no. Numeric

Bus no. Numeric

Starting Pt. Alphanumeric

Destination Alphanumeric

Date Numeric

Fare Numeric

Departure Time Numeric

Downloaded from www.careergyaan.org

Downloaded from www.careergyaan.org

DATA DICTIONARY

System : Tourist Bus Operator

Name of report : Time Table List

Element Name Length Data Type Format

Route no. 3 Numeric

Bus no. 8 Numeric

Starting Pt. 25 Alphanumeric

Destination 25 Alphanumeric

Date 10 Numeric dd/mm/yyyy

Fare 4 Numeric

DepartureTime

8 Numeric hh:mm

System : Tourist Bus Operator

Name of report : Inquiry List

Element Name Length Data Type Format

Route No. 3 Numeric

Starting Pt. 25 Alphanumeric

Destination 25 Alphanumeric

Date 10 Numeric dd/mm/yyyy

Departure Time 8 Numeric hh:mm