CSC 242 NU Analyzing a Simple Programming Problem Project

ANALYZE AND SOLVE A SIMPLE PROGRAMMING PROBLEM

From the textbook: Big C++: Late Objects, Enhanced:

Business P2.6

The following pseudocode describes how to turn a string containing a ten-digit phone number (such as “4155551212”) into a more readable string with parentheses and dashes, like this: “(415) 555-1212”.

Take the substring consisting of the first three characters and surround it with “(” and “)”. This is the area code.

Concatenate the area code, the substring consisting of the next three characters, a hyphen, and the substring consisting of the last four characters. This is the formatted number.

Translate this pseudocode into a C++ program that reads a telephone number into a string variable, computes the formatted number, and prints it.

Horstmann, C. S. (2017). Big C++: Late Objects, Enhanced eText (3rd ed.). Wiley Global Education US.

Design Specification: Verify that the program design aligns with the description of the desired interface, including prompts for input and output. Remember that the design should clearly communicate the purpose of the program, the desired behavior the user should engage in, and the results with effective labeling of the output.

Functional Specification: Verify that the program functions based on the desired capability and process as described in the program description. 

INSTRUCTIONS

  1. After analyzing the problem and specifications described in the background above, in a Word document, create the pseudocode (language agnostic and using conventions in the text) that describes the algorithm and logic for the proposed solution to the problem scenario.Verify that the algorithm and logic are well structured (unambiguous, executable, and terminating) based on conventions described in the reading.
  2. Create a C++ project in Visual Studio and translate the algorithm and logic described in pseudocode to a working program that has been tested and compiled.
  3. Ensure that a comment header (based on the template provided under Learning Resources) is included at the top of your .cpp file and that descriptive in-line comments that follow conventions described in the reading are used throughout your code.
  4. Create a single zip file containing your Visual Studio project folder and pseudocode document. 
We offer the bestcustom writing paper services. We have done this question before, we can also do it for you.

Why Choose Us

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How it Works

  • Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.