Write a structure to store the name, account number and balance of customers and store their...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a structure to store the name, account number and balance of customers and store their information. 1- In your main, ask the user to enter the number of customers and store it in an integer variable numOfCustomers. 2- define a dynamic array of this new defined struct with the size entered by the user in step 1 3- Populate the members of the struct in your main via the user typing the customer details and you storing them in the matching index in the array. 4- Write a function to print the names of all the customers having balance less than $200. 5- Write a function to add $100 in the balance of all the customers having more than $1000 in their balance and then print the incremented value of their balance. Write a structure to store the name, account number and balance of customers and store their information. 1- In your main, ask the user to enter the number of customers and store it in an integer variable numOfCustomers. 2- define a dynamic array of this new defined struct with the size entered by the user in step 1 3- Populate the members of the struct in your main via the user typing the customer details and you storing them in the matching index in the array. 4- Write a function to print the names of all the customers having balance less than $200. 5- Write a function to add $100 in the balance of all the customers having more than $1000 in their balance and then print the incremented value of their balance.
Expert Answer:
Answer rating: 100% (QA)
include include struct Customer stdstring name int accountNumber double balance Function to print names of customers with balance less than 200 void p... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
ployees. 1. Why do you think there is an increased focus on establishing trusted and opportunity-driven relationships with employees? 2. What are the potential benefits? 3. What are the potential...
-
You will design and implement your own data class. The class will store data that has been read as user input from the keyboard (see Getting Input below), and provide necessary operations. As the...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
How do standard costs illustrate the trade-off between decision making and control?
-
A mutual fund is a professionally managed investment that can be sold to the general public. Mutual funds can be specialized into different categories such as healthcare-related or technology-related...
-
Find each function value. 1. g(x) = x4/3 (a) g(8) (b) g(t + 1) (c) g(27) (d) g(x) 2. h(x) = |x - 2| (a) h(4) (b) h(2) (c) h(0) (d) h(x + 2)
-
Presented below are summary financial data from Porter's annual report: Calculate the following ratios: a. Times-interest-earned ratio b. Quick ratio c. Current ratio Balance sheet Cash and cash...
-
JK Manufacturing is considering a new product and is unsure about its price as well as the variable cost associated with it. JKs marketing department believes that the firm can sell the product for...
-
Muhammad Sales Company has the following selected accounts after posting adjusting entries: Accounts Payable Notes Payable, 3-month Accumulated Depreciation-Equipment Notes Payable, 5-year, 6%...
-
You receive the following letter. Quark Pty Ltd. 500 Mowbray ROAD LANE COVE, NSW 2066 8 Sept 2018 Greetings, Quark Pty Ltd is a trader of machine parts. Its annual turnover in the last five years...
-
Which QBO Navigation Bar selection provides information about vendor transactions
-
Financial statement analysis. Based on listed companies. Includes a report and a presentation Based on Apple, Microsoft & Microstrategy companies, explore Financial Statement from 2020 until 2022...
-
1. Describe in detail 2 types of marketing concepts used for a coffee shop business in Fiji preferable The Coffee Hub in terms of marketing management and its application to the company. 2. For both...
-
A resident company pays a net $7,200 fully imputed dividend to each of its five shareholders. Work out how each of the shareholders are taxed, assuming the following additional tax information: Tom...
-
Use "data table" function to calculate various of NPV for Project B. Use the following information to create the two variables datatable: WACC: 3%, 4%, 5%, 6%, 7%, 8%, 9%, 10%, 11%, 12%, and The...
-
N indistinguishable, non-interacting, monoatomic gas particles are placed into a container of size V and temperature T. Each of these particles has a dipole moment of magnitude d, which contributes...
-
Write a C++ program that prompts the user to enter a sentence, the program then does the following: 1. Prints the total characters in the sentence. 2. Prints the word count of the sentence, assuming...
-
If the jobs displayed in Table 18.24 are processed using the earliestdue-date rule, what would be the lateness of job C? TABLE 18.24 Processing Times and Due Dates for Five Jobs Job C D E...
-
Sally hires a maid to work in her home for $250 per month. The maid is 25 years old and not related to Sally. During 2012, the maid worked 10 months for Sally. a. What is the amount of Social...
-
Sherry Hopson owns a retail family clothing store. Her store is located at 4321 Circle Drive, Houston, TX 77001. Her employer identification number is 95- 1234321 and her Social Security number is...
-
Diego, age 28, married Dolores, age 27, in 2012. Their salaries for the year amounted to $46,479 and they had interest income of $3,500. Diego and Dolores' deductions for adjusted gross income...
-
A decrease in supply results in a(n) _________ equilibrium price and a(n) _________ equilibrium quantity.
-
If supply decreases and demand increases, the equilibrium price will _________ and the equilibrium quantity will be _________.
-
If demand decreases and supply increases, but the decrease in demand is greater than the increase in supply, the equilibrium quantity will _________.
Study smarter with the SolutionInn App