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++: Early Objects
Additional Engineering Textbook Solutions
Web Development and Design Foundations with HTML5 (8th Edition)
Starting Out with Java: From Control Structures through Objects (7th Edition) (What's New in Computer Science)
INTERNATIONAL EDITION---Engineering Mechanics: Statics, 14th edition (SI unit)
Modern Database Management
Computer Science: An Overview (13th Edition) (What's New in Computer Science)
- Hospital Management Project "Simple Scenario We want to develop a comprehensive software product for XY Hospital, where several doctors are working together. There are several departments in the hospital, but a central administrationoffice is handling the patient appointment tasks. Most patients make an appointment before their visit. However, patients can walk in and can be treated if an appropriate doctor is available. On events, patients may change their visit schedule by calling. A patient who made an appointment but cannot appear should cancel his/her appointment in order to avoid a "no-show penalty. The appointment clerks i the administration office are handling all the appointments and the scheduling clerks generate "daily treatment schedules for doctors based on the appointment. The "daily treatment schedules' include doctor's name, patient's information, nurses and treatment rooms for each treatment. Hence, doctors are seeing patients according to the daily treatment schedule.…arrow_forwardC++ Project Description Project Specifications Input for this project: Values of the grid (row by row) Output for this project: Whether or not the grid is magic square Programmer’s full name Project number Project due date Processing Requirements Start from scratch. Use the following template to start your project: #include<iostream> using namespace std; // Global constants const int ROWS = 3; // The number of rows in the array const int COLS = 3; // The number of columns in the array const int MIN = 1; // The value of the smallest number const int MAX = 9; // The value of the largest number // Function prototypes bool isMagicSquare(int arrayRow1[], int arrayRow2[], int arrayRow3[], int size); bool checkRange(int arrayRow1[], int arrayRow2[], int arrayRow3[], int size, int min, int max); bool checkUnique(int arrayRow1[], int arrayRow2[], int arrayRow3[], int size); bool checkRowSum(int arrayrow1[], int arrayrow2[], int arrayrow3[], int size);…arrow_forwardFunction-Oriented Design: This project is designed to allow you for participating in a group work that every member of group should involve with different task. This work is divided into two parts. First part is to prepare a presentation representing a solution for the defined below problem. Additionally, second part is a report preparation that explains the solution with proper background reviews. It Is required to emphasise your diagrams and that with appropriate, detailed explanations. 1 Introduction Increasingly supermarkets are introducing self-service checkouts. Your task Is to develop a design for Easy Checkout, a new self-service checkout system. You should follow a function-oriented design approach, i.e. you should develop: 1. a data flow diagram 2. structure charts Your design should focus on the processing of a single product. This will provide the foundation for the full design of Easy aeckoat Details on the requirements that you are to work with are given below. 2 Informal…arrow_forward
- ASSIGNMENT: Student Data Write a program that uses two structures Name and Student to store the following information for multiple students: 1. Create a NAME structure that consists of • First Name, • Middle Initial, and • Last Name. 2. Create a STUDENT structure that contains student information (Include the NAME structure within the Student information structure) o Name o ID o email • SSN • Program (an enum type containing programs such as CSCI, DBMS, INFM, SDEV)arrow_forwardGiven 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_forwardC++ Student Data Write a program that uses two structures Name and Student to store the following information for multiple students: Create a nameType structure that consists of First Name, Middle Initial, and Last Name Create a studentType structure that contains student information (Include the nameType structure within the Student information structure): Name ID email GPA Program (an enum type named programType containing programs such as CSCI, DBMS, INFM, SDEV) Suppose that a class has at most 20 students. Use an array of 20 components of type studentType. You will read in the names, id, and email from classroster.txt. The first line of the file will tell you how many students are in the class. To get the the GPA and program for each student you will need to read from studentlist.txt. The second file will have the id, program, and GPA for all of the students in the department. That means that not every student from studentlist.txt will be in classroster.txt. You will…arrow_forward
- Chapter 6 Project Project Name: Chpt6_Project Class Name: Chpt6_Project Projectile Motion An object is thrown straight up from the top of a building that is h feet tall, with an initial velocity of v feet per second. The height of the object as a function of time can be modeled by the function h(t) = -16t² + vt + h, where h(t) is the height of the object (in feet) t seconds after it is thrown, and his the starting height, i.e. the height of the building This model assumes the object misses the top of the building on the way back down to the ground and that wind resistance is minimal. Example: Assume the ball is thrown straight up from the top of a 128 foot tall building with an initial speed of 32 feet per second (ft/sec). The height of the ball as a function of time can be modeled by the function by: h(t) = -16t² + 32t + 128. How high above the ground will the ball be after 3 seconds of flight time? Note: t² equals t times t h(t) = -16(3)² +32(3)+128 h(t) = -144 +96+ 128= 80 feet The…arrow_forwardWhen calling a function that accepts many parameters, the order in which they are provided is critical.arrow_forwardStructure and function: What is the difference between these two things?arrow_forward
- Write a program that performs the following procedures: 01. Structure stores marks of 7 courses with total marks and grades. 02. Get data from the user and store it inside the structure by returning from a user-defined function. 03. Calulate's the grade by passing the pointer of the total marks variable to the user-defined Grade Calculator function. 04. Calculates the grade and store it inside the structure's grade attribute. 05. Prints that structure data of marks and grades. do it in c++ languagearrow_forwardPreferred language C++ or Javaarrow_forwardPython helparrow_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