Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Do part 1 and two There are two parts to this assignment, with two separated 1. You must examine the requirements for the program and

Do part 1 and two There are two parts to this assignment, with two separated 1. You must examine the requirements for the program and come up with a requirements list for input data validation for the program. A master requirements list for input data validation will be generated from all teams' submissions that you will use when writing the program. 2. You will write the c program, based on the description below and the additional master requirements list for input data validation (as per the results of part 1. above). Milestone 1 The Requirements List Your requirements list for input validation should not be a formal document. It must be a text document called req.txt . The requirements should be a bulleted list oriented towards being friendly for the user while still maintaining the integrity of the input data. This is important Milestone 2 The Program Create a c program that takes input for an address book (of people, not businesses), validates the input, and stores the data in an array. Once the user has entered the desired number of entries, the address book should be displayed in its entirety. The data stored consists of: Name (maximum length 30 characters) Street Address (maximum length 60 characters) City (maximum length 60 characters) Province (in the format of a 2 character long Canadian province abbreviation used by Canada Post) Postal Code (in the format of a Canadian Postal Code) Phone Number, including area code You must prompt the user in a user-friendly way. This requires that the prompt be informative but not overbearing. If the user enters invalid input, an error message must be displayed indicating what the problem is. The user must be given an option as to whether to skip entering this part of the address book entry (e.g. skip the Address and continue with the City) or to try again. The array of addresses is of size 10. The user will be permitted to enter up to 10 entries. If the user chooses to end entry early, they can specify this by pressing ENTER as the first and only character of the name (this is the lone exception to the "pressing ENTER skips a component" requirement). Once the user has done 10 entries or has chosen to end entry early, the program will then display the contents of the address book, three entries on a page. Each entry will be five lines in size. The lines must be in the following format: Fred Flintstone 11 Cobblestone Lane Bedrock, ON, N2Y 3E8 519-555-1212 ++++++++++++ Paginate your output properly (the user should not have to scroll to see output of a single address book entry. Do not use regular expressions or any third-party libraries for this assignment. When the program starts up, display the name (string) that your group has been assigned after Milestone 1. This will uniquely identify your assignment. Do not put any other identifying information (e.g. "Fred's Address Book) in the program.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning C# 5.0 Databases

Authors: Vidya Vrat Agarwal

2nd Edition

1430242604, 978-1430242604

More Books

Students also viewed these Databases questions

Question

D How will your group react to this revelation?

Answered: 1 week ago