Need help in Java application..

timer Asked: Sep 20th, 2015

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? 


Oops, I really need an integer value.

What is the first number?


What is the second number?


Oops, I really need an integer value. 

What is the second number?


 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) Studypool Tutor
School: Purdue University
Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags

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