Preview

Assignment 2

Satisfactory Essays
Open Document
Open Document
338 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Assignment 2
Assignment #2*: Build A Report

Purpose: Exercise, use, Inputs, Outputs, and perform conditional evaluation

Due Date: 09-Feb-2015

Requirements: (Multiple classes/Multiple types of input)

Input: Report Owner’s full name and 7 numbers (at least one double and one integer)
The owner’s name can not contain any special characters, blank spaces, or numbers
You must use an if statement and at least one switch statement in your program
You are not allowed to have static variables or methods in any class except for the class with the main method.
You have to have at least 2 classes in your program
You are not allowed to use ArrayLists or Vectors, only primitive arrays or string arrays if you want.

Application Operation:

1.) Input, via a question in the console, the report owner’s first name as a string and build the last name via input, one character at a time.

Check, conditionally, to make sure the first name and last name don’t contain any numeric characters, numbers between 0 – 9. If it does you must remove it. The names can not contain any white space either or special characters.
2.) Input report name via a request from the console.

3.) Input, and display, the total of the numeric input after each input is entered. Average the numeric input, indicate lowest numeric input value and the highest numeric input value for the previous numeric inputs, before the next numeric input is asked for. (Example given in class)

4.) Have a program exit input, condition, value available (i.e. if you type -1 the program exists)

5.) Create and display a final report that should have the report name, owner and the following:

Numeric output should appear as a table with the following columns: (columns should be underlined)

Input Number
Highest Number
Lowest Number
Total (by the row)
Average Number
6.) At the end of the report you must have a grand total for the numeric entries

*The class outline (UML) is described in figure 5.2, which is

You May Also Find These Documents Helpful

  • Good Essays

    Mmp321

    • 1948 Words
    • 8 Pages

    Here insert specific details of the client, the purpose of the report, date of valuation, date of inspection, interest held, interest being valued and registered proprietors.…

    • 1948 Words
    • 8 Pages
    Good Essays
  • Powerful Essays

    3. The main user screen should have a short description saying how to use the program.…

    • 1488 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    It/210 Final Exam

    • 1235 Words
    • 5 Pages

    3. The main user screen should have a short description saying how to use the program.…

    • 1235 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    8.If AL contains 1 or 3, display ‘O’. If AL contains 2 or 4 display ‘E’. Write a program to solve it. Page: 105…

    • 582 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    You can't use a space, period (.), exclamation mark (!), or the characters @, &, $, # in the name.…

    • 368 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Rsm322

    • 655 Words
    • 3 Pages

    * The reports should include appendices which should be labelled clearly as to content and sequentially numbered. The pages should be numbered and the reports should be addressed to the client who has hired you. Do not address the client or any of her staff by their first names. They are not your friends – you are working for them so address them respectfully.…

    • 655 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    proceed to present your results. The following questions should be addressed in your report, and…

    • 634 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Windshield Survey Report

    • 3205 Words
    • 13 Pages

    Record the data you collect into the following tables. The tables will expand as you type.…

    • 3205 Words
    • 13 Pages
    Powerful Essays
  • Better Essays

    assignment 2

    • 1012 Words
    • 3 Pages

    Business Ethics Did Glenn act ethically in this case? Would Mary have acted unethically if she had actually orally guaranteed to repay her husband’s debts and then raised the Statute of Frauds to prevent enforcement of the oral promises?…

    • 1012 Words
    • 3 Pages
    Better Essays
  • Powerful Essays

    Ss2 Assesment

    • 1737 Words
    • 7 Pages

    1.1 Identify what numerical and other information is needed in the spreadsheet and how it should be structured…

    • 1737 Words
    • 7 Pages
    Powerful Essays
  • Powerful Essays

    ACL 9 Quick Guide

    • 5406 Words
    • 45 Pages

    ACL 9|Quick Guide V02.4 Contents Introduction ................................................................................................................................................................................................................................................... 3 ACL User Interface Overview ....................................................................................................................................................................................................................... 4 Common Data Types in ACL ........................................................................................................................................................................................................................ 5 ACL Command Reference ........................................................................................................................................................................................................................... 6 ACL Command Terminology ........................................................................................................................................................................................................................…

    • 5406 Words
    • 45 Pages
    Powerful Essays
  • Good Essays

    C++ Lab Session

    • 868 Words
    • 4 Pages

    Given the following classes, write the implementation codes and the driver program to demonstrate inheritance using C++. You may add other appropriate member functions and / or data members.…

    • 868 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Socket Programming

    • 1283 Words
    • 6 Pages

    – – – – – – – – – – – – file : load the program for debugging kill : stop the program for debugging list : list the source code of the program for debugging break : set a break point in the source program run : run the program to be debugged next : execute a single line of the program, but not go into it step : execute a single line of the program, but go into it quit : quit the gdb to shell print : display the…

    • 1283 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    Steps in Making a Business Report Copyright © Wondershare Software STEP 1: DEFINING AND ANALYZING THE PROBLEM POINTS TO CONSIDER:…

    • 2401 Words
    • 19 Pages
    Powerful Essays
  • Powerful Essays

    7. Since the reports are formal, the first person (singular "I" or plural "We") should not be used…

    • 925 Words
    • 5 Pages
    Powerful Essays

Related Topics