Question
PLEASE DO IT FAST Consider two mobile company: Vodafone and idea. The details of customers are stored in the files (Vodafone_cus.txt and idea_cus.txt). The following
PLEASE DO IT FAST
Consider two mobile company: Vodafone and idea. The details of customers are stored in the files (Vodafone_cus.txt and idea_cus.txt). The following details are in the file: Cus_id, Name, Mobile_number, Plan (Pre-paid, Post-paid). Write a program that does the following:
a. Merge the two files and stored the merged detail into Vi_cus.txt.
b. Read the file contents in a structure array.
c. Display a Menu to,
i. Change then plan
1. Pre-paid to post-paid
2. Post-paid to pre-paid
ii. Do you want another connection?(Add a row in the file for another connection)
d. Re-store the file by copying the contents of structure array to file.
Perform necessary changes in the file depending on what user has selected.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started