forked from ayush4190/First-android-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRCGS.cpp
More file actions
20 lines (14 loc) · 671 Bytes
/
Copy pathRCGS.cpp
File metadata and controls
20 lines (14 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include<iostream>
using namespace std;
int trainstate(int distance)
{
return 0;
}
int main()
{
cout<<"----------------------------------Railway Gate Contol System Simulation ---------------------------------------------------------------\n";
cout<<"------------------------Assumptions-------------------------\n 1.Train length is=1000m \n 2. Entry State means - the train has entered the zone \n 3. Operation State - The train is within the zone \n 4.Exit State - The train has left has exited the zone \n";
cout<<"-------------------------------------------------------------------------------------------\n";
// start from here
return 0;
}