Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment #2*: Build A Report Purpose: Exercise, use, Inputs, Outputs, and perform conditional evaluation Requirements: (Multiple classes/Multiple types of input) Input: Report Owner's full name

image text in transcribed

Assignment #2*: Build A Report Purpose: Exercise, use, Inputs, Outputs, and perform conditional evaluation Requirements: (Multiple classes/Multiple types of input) Input: Report Owner's full name and 7 numbers (at least one double and one integer) o The owner's name cannot contain any special characters, blank spaces, or numbers You must use an if statement and at least one switch statement in your progranm . 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 . You are not allowed to use Arraists 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. a. 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) a. Input Number b. Highest Number C. Lowest Number d. Total (by the row) e. Average Number 6.) At the end of the report you must have a grand total for the numeric entries

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

Database Principles Programming And Performance

Authors: Patrick O'Neil

1st Edition

1558603921, 978-1558603929

More Books

Students also viewed these Databases questions