Computer Science, asked by naviarora2947, 10 months ago

Sherley Goes For A Shopping To A Mall ‘M1’ . She Uses Credit Card Of Bank ‘Abc’ For Her Purchases. Account Details Of Each Customer Of ‘Abc’ Contain Account Holder Name, Account Number And Balance. Details Of Customers Of Mall ‘M1’ Includes Customer Name And List Of Items Purchased And Cost Of The Items. Given The Details Of ‘N’ Customers Of Bank ‘Abc’ And The Purchase Details Of ‘M’ Customers To Mall ‘M1’, Design An Algorithm And Write A C Program To Print The Name Of Items Purchased By Sherley And The Balance Amount In The Account Of Sherley In The Bank ‘Abc’.

Answers

Answered by ayushkwar
0

Answer:

Sherley goes for a shopping to a mall ‘M1’ . She uses credit card of bank ‘ABC’ for her purchases. Account details of each customer of ‘ABC’ contain Account holder name, Account number and Balance. Details of customers of mall ‘M1’ includes customer name and list of items purchased and cost of the items. Given the details of ‘n’ customers of bank ‘ABC’ and the purchase details of ‘m’ customers to mall ‘M1’, design an algorithm and write a C program to print the name of items purchased by Sherley and the balance amount in the account of Sherley in the bank ‘ABC’.

For example, if details (Name, Account number, Balance) of six customers of bank are given as follows:

Raju 12356 1000.00

Sam 12789 980.00

Ram 13457 975.50

Sherley 16789 1500.00

Sheela 17890 1345.50

Kamala 12378 2567.75

Details (Name, number of items purchased, item name1, cost1, item name2, cost2,…) of three customers of mall m1 are given as follows:

Similar questions