Customer Accounts
This
- One student should design function main, which will call other program functions. The remainder of the functions will be designed by other members of the team.
- The requirements of the program should be analyzed so that each student is given about the same workload.
Write a program that uses a structure to store the following data 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 data 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 12 Solutions
Starting Out with C++ from Control Structures to Objects (9th Edition)
Additional Engineering Textbook Solutions
Starting out with Visual C# (4th Edition)
Problem Solving with C++ (10th Edition)
Starting Out With Visual Basic (7th Edition)
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
Starting Out with Java: From Control Structures through Objects (6th Edition)
Computer Systems: A Programmer's Perspective (3rd Edition)
- (Numerical) Write an assignment statement to calculate the nth term in an arithmetic sequence. This is the formula for calculating the value, v, of the nth term: v=a+(n1)d a is the first number in the sequence. d is the difference between any two numbers in the sequence.arrow_forwardusing access file in visual c#arrow_forwardvb program using framework.net synatax please if the program can be solved using text boxes and labels or any beginner way providing detailed stepsarrow_forward
- using accessarrow_forwardFormatting Customer Names Build a function that displays a customer's name and location if applicableSuppose that you are building a Customer Relationship Management (CRM) system, and you want to display a user record in the following format: John Smith (California). However, if you don't have a location in your system, you just want to see "John Smith." Create a format_customer() function that takes two required positional arguments, first_ name and last_name, and one optional keyword argument, location. It should return a string in the required format. Create the customer.py file. Define the format_customer() function. Open a Python shell (Or Jupyter Notebook) and import your format_customer() function. Try running a few examples. The calls should look like this: from customer import format_customerformat_customer('John', 'Smith', location='California') and the output should look like this: John Smith (California) In [ ]:arrow_forwardMarriage Validity You were hired by the City Hall of Kulafu as a programmer. Your task is to write a spreadsheet program that will determine whether two individuals can be married legally or not. The marriage will be legal depending on the following conditions: both individuals should be at least 18 years old the individuals should not have the same gender (same gender marriage is not legal in Kulafu) the individuals should not have a married status (in Kulafu, status are single, widow/widower, divorced and married) Write a program that will accept via keyboard the information regarding the age, gender and marital status of the two individuals. The following numeric coding system should be used: for gender: M or m represents Male and F or f represents Female. For marital status: S or s represents Single, W or w represents Widow/Widower, D or d represents Divorced and MA or ma represents Married. The word should output the word "LEGAL" if all the criteria above are met. Otherwise, the…arrow_forward
- Topic name: data structures please solve quicklyarrow_forwardSubject: Disrete Structures A landline Telephone number contains 7 digits. How many Landline numbers can be formed if the first number must be a 4, 6 or 2. The second and third number must match each other and the last digit can be anything from 1 to 5.arrow_forwardDescribe different ways to manipulate data using a struct.arrow_forward
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageC++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage LearningEBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT