Computer PROJECT Railway Reservation: SESSION:2017-18
Computer PROJECT Railway Reservation: SESSION:2017-18
Railway reservation
SESSION:2017-
18
ROLL NO.:
REGD NO.:
CERTIFICATE
This is to certify that the Project titled
'RAILWAY TICKET RESEVATION' was completed
under my guidance and supervision by
DEBANJALI JYOTI CHATTOPADHYAY, a student of
XII SCIENCE, Bodhicariya Senior Secondary
School, Newtown, Kolkata within the stipulated
time as prescribed by the CBSE.
PRINCIPAL
______________________________
Computer Department,
Bodhicariya Senior Secondary School,
Kolkata.
ACKNOWLEDGEMENTS
I gratefully acknowledge my sincere thanks to our
respected computer teacher for her remarkable,
valuable guidance and supervision throughout the
project work. I'm also most indebted to maam for her
encouragement, help, suggestion and readily helpful
service in performing the project.
CODING
//Indian Railways - Ticket Reservation
#include<fstream.h>
#include<conio.h>
#include<stdio.h>
#include<math.h>
#include<string.h>
#include<process.h>
char from[30],to[30];
void detail()
{
cout<<"From"<<endl; gets(to);
cout<<"To"<<endl; gets(from);
}
class railways
{
char station[30];
unsigned int distance;
float fare;
public: void ad_data()
{
cout<<"Enter Railway Station name"<<endl;
gets(station);
cout<<"enter its distance from Jammu Tawi"<<endl;
cin>>distance;
}
void amount(int a,int b,int c)