The work has not been graded but I like the output that was submitted to me. Is it possible for the same prof to do the next assignment I will be submitting? If possible, I will greatly appreciate it.
You are required, but not limited, to turn in the following source file:
Requirements to get full credits in Documentation
The assignment number, your name, StudentID, Lecture number(time), and a class description need to be included at the top of each file/class.
A description of each method is also needed. Some additional comments inside of methods (especially for a “main” method) to explain code that are hard to follow should be written.
New Skills to be Applied
In addition to what has been covered in previous assignments, the use of the following items, discussed in class, will probably be needed:
Primitive Data Types
Conditional and Loop statements
Assignment #2 will be the construction of a program that reads in an unspecified number of integers from standard input, performs some calculations on the inputted numbers, and outputs the results of those calculations to standard output. The numbers could be delimited by any kind of whitespace, i.e. tabs, spaces, and lines (Note that if you use the Scanner class, you do not have to worry about these delimiters. They will be taken care of). Your program will continue to read in numbers until the number 0 is entered. At this point, the calculations will be outputted in the following format:
The minimum integer is 0
The count of even integers in the sequence is 1
The sum of negative integers is 0
This means that using all numbers your program reads (including the last number 0), you need to compute the minimum, count how many even integers (can be divided by 2, “num%2 == 0”) are in the sequence, and compute the sum of negative integers (are less than 0).
Note that the above is an output for the first test case. For other test cases, you will have different numbers.
Do not prompt to query for the numbers. The number 0 is included in the sequence of integers and should be included in all of your calculations.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more