Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE DO IT FAST NOTE: IN C LANGUAGE ONLY Consider two mobile company: Vodafone and idea. The details of customers are stored in the files

PLEASE DO IT FAST

NOTE: IN C LANGUAGE ONLY

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

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

10th Edition

0137916787, 978-0137916788

More Books

Students also viewed these Databases questions