Program objectives

The listed objectives are designed to satisfy the following ABET program outcomes: An ability to use current techniques, skills, and tools necessary for computing practice (ABET-CAC i).

Problem

Write a program that applies two user-defined manipulators to one or more unsigned integers, then displays the results. The manipulators are “commas” which formats an unsigned with comma separators, and “tertiary” which converts the unsigned base 10 to base 3. The unsigned integers are stored in a linked-list template that was developed in class.

Input

One or more unsigned integers extracted from the keyboard.

Output

The unsigned integers formatted with the “commas” and “tertiary” manipulators.

Class requirements

Two classes defining one-parameter manipulators.

  • commas. Formats an unsigned with comma separators.
  • tertiary. Converts a base 10 unsigned into base 3.

Linked-list. The linked-list class template we developed live and in person.

Program requirements

The driver file should do the following.

  • Present the user with a greeting, then a keypress (and ENTER) to continue.
  • Prompt for and get one or more unsigned ints which are to be stored in the user-defined linked- list. It is the program’s responsibility to indicate to the user how to stop entering input. NOTE: The program cannot ask for a negative number to quit input if the program is extracting unsigned ints.
  • Iterate through the list with linked-list iterators and apply the two user-defined manipulators to each element.
  • Print the results to the standard output in tabular form with column headings.
Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.