CPP-A20 File Handling Text File (1)
CPP-A20 File Handling Text File (1)
Title
Author Name
🔹 Tasks:
1. Add new books to "library.txt" .
Output:
Book Found: C++ Programming by Bjarne Stroustrup (Available)
Employee ID
Name
Department
Salary
🔹 Tasks:
1. Add employee details dynamically.
Output:
Employee Found: Alice (HR) - Salary: 50000
Employee Salary Updated Successfully!
Employee Deleted Successfully!
Order ID
Customer Name
Product Name
Price
🔹 Tasks:
1. Add new order details dynamically.
Output:
Order Found: Laptop by John Doe - Price: 75000
Order Updated Successfully!
Order Deleted Successfully!
Roll Number
Name
Marks in 3 subjects
🔹 Tasks:
1. Add student exam results dynamically.
Output:
Student Found: David - Total Marks: 253, Percentage: 84.33%
Student Marks Updated Successfully!
Student Record Deleted Successfully!
Flight Number
Departure City
Destination City
Ticket Price
2. Find flights between two cities and display the available options.
Output:
Flight Found: AI101 - Price: 4500
Flight Price Updated Successfully!
Flight Deleted Successfully!
Happy Coding!