Top Research Professionals
The research experts and assignment help team consists exclusively of highly qualified graduate writers, each professional with in-depth subject matter expertise and significant experience in custom academic writing.
For similar papers and sample answers; with a few clicks, Order your research paper, thesis, dissertation writing and other assignment help services
Posted: April 20th, 2022
Question description
Purpose: This program will generate a series of random numbers and produces a table containing these values and some statistics about them.The program should define a Header and Data format string to output results as shown in the sample at the bottom.The program will get from the user the maximum random number to be computed (an integer). It will get this value into a String variable.The program will use the Integer wrapper class to parse the integer out of the String and store in an integer variable.Then the program will ask the user how many random numbers will be generated. It should also receive this number in a String and use the Integer wrapper class to get the integer into an integer variable.Using a for loop, output a table with the following characteristics:o Print a header of titles using a header format and printf (this should be before the loop, not inside the loop).o There should be one line per each random line generated.o Each line should contain:§ A line number, also known as round.§ The generated random number.§ Current Maximum of all generated random numbers so far. (Utilize Math class to determine current Max)§ Current Minimum of all generated random numbers so far. (Utilize Math class to determine current Min)§ Current Total of all generated random numbers so far added together. (Total should be calculate using a compound operator)§ Current average of all generated random numbers so far. (Average should be shown with 2 decimal places)Output “End Run…” after all lines have been output.Mimic the output in the sample below exactly. Numbers will change due to random and selection but format will be the same.85%NOTE: Complete your activity and submit it by clicking “Submit Assignment” 5%Total Percentage100%SampleMax Random Number and Number of Rounds will vary based on input:Below are 3 different random examples based on the input given. Your output will vary but the format will be the same.
Study Notes, Research Topics & Assignment Examples: Next Post »Bill Gates’ contribution to computingWe prioritize delivering top quality work sought by college students.
The research experts and assignment help team consists exclusively of highly qualified graduate writers, each professional with in-depth subject matter expertise and significant experience in custom academic writing.
Our custom writing services maintain the highest quality while remaining affordable for students. Our pricing for research papers, theses, and dissertations is not only fair considering the superior quality but also competitive with other writing services.
We guarantee plagiarism-free, human-written content. Every product is assured to be original and not AI-generated. Our writers, tutors and editors are research experts who ensures the right formating and citation sytles are followed. To note, all the final drafts undergo rigorous plagiarism checks before delivery for submission to ensure authenticity for our valued customers.
When you decide to place an order with Dissertation Help, here is what happens: