Professional Documents
Culture Documents
project
project
C/C++
Last Updated : 06 Sep, 2022
Approach:
// C program to implement
// the above approach
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// Defining Structure
typedef struct mynode {
char name[20];
char gen[6];
int age;
struct mynode* link;
} Node;
Node* start = NULL;
// Global variables
int k, amount;
char type[60], place[30], date[20];
// Driver Code
void main()
{
int a;
default:
printf("Enter Right Choice...");
break;
}
// Clearing Screen
system("cls");
// Clearing Screen
system("cls");
Output:
00:00 02:08
Never before seen offer on GeeksforGeeks Courses! Get up-to 75% off on all
premium courses such as Full Stack Web Dev, Backend Dev, DSA for
Interview and more. Avail discount now!
soun… 11
Next Article
Railway Reservation System in C
Similar Reads
Company Explore
About Us Job-A-Thon Hiring Challenge
Legal Hack-A-Thon
Careers GfG Weekly Contest
In Media Offline Classes (Delhi/NCR)
Contact Us DSA in JAVA/C++
Advertise with us Master System Design
GFG Corporate Solution Master CP
Placement Training Program GeeksforGeeks Videos
Geeks Community
Languages DSA
Python Data Structures
Java Algorithms
C++ DSA for Beginners
PHP Basic DSA Problems
GoLang DSA Roadmap
SQL DSA Interview Questions
R Language Competitive Programming
Android Tutorial
Data Science & ML Web Technologies
Data Science With Python HTML
Data Science For Beginner CSS
Machine Learning Tutorial JavaScript
ML Maths TypeScript
Data Visualisation Tutorial ReactJS
Pandas Tutorial NextJS
NumPy Tutorial NodeJs
NLP Tutorial Bootstrap
Deep Learning Tutorial Tailwind CSS