Group Project
17. Customer Accounts
This
• One student should design function main, which will call other program functions or class member functions. The remainder of the functions will be designed by other members of the team.
• The requirements of the program should be analyzed so each student is given about the same workload.
Write a program that uses a structure to store the following information about a customer account:
• Name
• Address
• City, state, and ZIP
• Telephone number
• Account balance
• Date of last payment
The structure should be used to store customer account records in a file. The program should have a menu that lets the user perform the following operations:
• Enter new records into the file
• Search for a particular customer’s record and display it
• Search for a particular customer’s record and delete it
• Search for a particular customer’s record and change it
• Display the contents of the entire file
Input Validation: When the information for a new account is entered, be sure the user enters data for all the fields. No negative account balances should be entered.
Want to see the full answer?
Check out a sample textbook solutionChapter 13 Solutions
STARTING OUT WITH C++ MPL
Additional Engineering Textbook Solutions
Database Concepts (8th Edition)
Problem Solving with C++ (9th Edition)
Database Concepts (7th Edition)
Starting Out With Visual Basic (8th Edition)
Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)
- Given main(), create the Calculator struct that emulates basic functions of a calculator: add, subtract, multiple, divide, and clear. The struct has one data member called value for the calculator's current value.arrow_forwardThe functions that are defined according to our requirements are called ____ (A) Good functions (B) Modules (C) User defined functions (D) Library functionsarrow_forwardModule/Week 6 Assignment (User-defined: Simple Data Types, String Types) You are working for a lumber company, and your employer would like a program that calculates the cost of lumber for an order. The company sells pine, fir, cedar, maple, and oak lumber. Lumber is priced by board feet. One board foot equals one square foot that is one inch thick. The price per board foot is given in the following table: The lumber is sold in different dimensions (specified in inches of width and height, and feet of length) that need to be converted to board feet. For example, a 2 x 4 x 8 piece is 2 inches wide, 4 inches high, and 8 feet long, and is equivalent to 5.333 board feet (2 * 4 * 8 = 64, which when divided by 12 = 5.333 board feet). An entry from the user will be in the form of a letter and four integer numbers. The integers are the number of pieces, width, height, and length. The letter will be one of P, F, C, M, O (corresponding to the five kinds of wood) or T, meaning total. When the…arrow_forward
- Tracking laps Learning Objectives In this lab, you will practice writing functions, passing arguments and returning results from the function printing the result of a function call writing your code as a module Instructions Main Idea An Olympic-size swimming pool is used in the Olympic Games, where the racecourse is 50 meters (164.0 ft) in length. "In swimming, a lap is the same as a length. By definition, a lap means a complete trip around a race track, in swimming, the pool is the race track. Therefore if you swim from one end to the other, you’ve completed the track and thus you’ve completed one lap or one length." (Source: What Is A Lap In Swimming? Lap Vs Length) Write the function meters_to_laps() that takes a number of meters as an argument and returns the real number of laps. Complete the program to output the number of laps with two digits after the period. Examples Input: 150 Output : 3.00 Input: 80 Output: 1.60 Your program must define and call the following…arrow_forwardc++ ooparrow_forwardTHIS NEEDS TO BE DONE IN C#! Instructions For your first task as a newly formed team of developers, you will design, develop, test, and deliver a small software application to a client. You will first take the requirements for the project and implement a UML and function design for each of the classes you need to create. This MUST be achieved first. You will need to read and understand the requirements and choose good classes that need to be created in the development phase of this project. After you are finished with the design, you will use Visual Studio, C#, and GitHub to develop and test the project. Teams will need to determine who will write what parts of the system before development proceeds. Members will need to create branches to work in, which should be used to work in. Commits should be made often and contain details on changes made in the code. Once intended work for a branch is made, a pull request should be made to its parent branch to merge work. The team leader or…arrow_forward
- Process Scheduling: Select all statements below that are true The waiting time is included in the turnaround time. In interactive systems, short response times are unimportant. The time taken in an interactive program from the issuance of a command to the commencement of a response to that command is known as the response time. The response time is the time required for a particular process to complete, from submission time to completion. Throughput is the number of processes executed per time unit. The concept of virtual (run)time in the Completely Fair Scheduler is used to ensure fairness in the allocation of processor capacity.arrow_forwardStructure and function: What is the difference between these two things?arrow_forwardPreferred language C++ or Javaarrow_forward
- ineering Computer Engineering Q&A Library Function: Create a function which accepts patient id and display the patients name, date admitted. Sample output is: The patient name is Maryam, she got admitted on 12-Feb-2020 Function: Create a function which accepts patient id and display the patients name, date admitted. Sample output is: The patient name is Maryam, she got admitted on 12-Feb-2020 Question Function: Create a function which accepts patient id and display the patients name, date admitted. Sample output is: The patient name is Maryam, she got admitted on 12-Feb-2020 Procedure Write a Procedure that accepts patient id and display the patient id, name, test name and result. Package Create a package which contains the above created procedure in the specification. Create package body of the above given procedure. And finally call the procedure created above by passing the patient id then display the output as shown below: Sample output: Patient id is: P0232…arrow_forwardQ1:Write a program that have three structures .The first structure contains an information of 10 teachers and this information is: the name of the teacher and the subjects he teaches and the name of his department, the second structure contains information of 10 students which includes the name, stage and section and contains an internal structure containing ten degree, average and sum of each student, then print the information of teachers and students with their degrees and average of each student * Your answerarrow_forward3. A Gift for the Programmer by CodeChum Admin Cody doesn't know what The Programmer wants for Christmas so he asked The Programmer if he had a wish-list. The Programmer's eyes lit up and he immediately recited 5 things that he had always wanted to buy. The Programmer will input the 5 things then Cody will print it. Input 1. Name of the first thing Constraints The name is guaranteed to be only 1 word. 2. Name of the second thing Constraints The name is guaranteed to be only 1 word. 3. Name of the third thing Constraints The name is guaranteed to be only 1 word. 4. Name of the fourth thing Constraints The name is guaranteed to be only 1 word. 5. Name of the fifth thing Constraints The name is guaranteed to be only 1 word. Output The first line will contain a message prompt to input the first thing. The second line will contain a message prompt to input the second thing. The third line will contain a message prompt to input the third thing. The fourth…arrow_forward
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrProgramming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageC++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage Learning
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningEBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT