Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases A Tour

Authors: Shashi Shekhar, Sanjay Chawla

1st Edition

0130174807, 978-0130174802

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago