Need help in Java application..

FratBro23
Category:
Programming
Price: $5 USD

Question description

Create a java application that prompts for and accepts two integer values. Then use the two values given to create a times table for the range of those two numbers with each number being the max value of one of the axis of the times table. Validate the user's input using a loop. It will need to verify that the values given are integers and positive in value. Prompt for the input until an acceptable answer is given by the user. Use the printf () method with format specifiers to format the report. 

Here is an example of user input and report output 

What is the first number? 

a

Oops, I really need an integer value.

What is the first number?

4

What is the second number?

12.0

Oops, I really need an integer value. 

What is the second number?

 5

 The first number was 4 and the second was 5 

 1     2     3     4     5

 2     4     6     8   10

 3     6     9    12  15

 4     8    12   16  20 




Tutor Answer

(Top Tutor) Daniel C.
(997)
School: Cornell University
PREMIUM TUTOR
Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1823 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors