Code Programming

computer science

Description

Unit 5 Assignment

Grading Information: This Program is due on Date Specified.

Comments are REQUIRED; flow charts and pseudocode are NOT REQUIRED.

Directions Points

The file must be called <LastInitialFirstInitialUnit5.java>

Proper coding conventions required the first letter of the class start with a capital

letter and the first letter of each additional word start with a capital letter.

Only submit the .java file needed to make the program run. Do not submit the .class

file or any other file.


Style Components

Include properly formatted prologue, comments, indenting, and other style elements

as shown in Chapter 2 starting page 64 and Appendix 5 page 881-892.


Topics covered in chapter

Topics with * are covered in this assignment. Ensure you use every item listed below with

an * in your completed assignment.

*The API Library

*Match Class

*Wrapper Classes for Primitive Types

Character Class

*String Methods

*Formatted Output with the printf Method

*Problem Solving with Random Numbers


LiFiUnit5.java - Main Method

  •  Get input for maximum random number into a String variable. Allow a maximum of 8 (see example).
  •  Use the Integer wrapper class to parse the integer out of the string and store in an integer variable.

  • Get input for a number of rounds into an integer. Allow a maximum of 8 (see example).
  •  Create a Header and Data format string to output results as shown in the sample at the bottom.

  • Utilizing a for loop, output results meeting the following criteria:
  •  One line should be output for each round.


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.