Complete this code so that it must compile! Comment on each step! Numeric Pattern Menu Start with file NumericPatternMen
Posted: Sat May 14, 2022 7:27 pm
Complete this code so that it must compile! Comment on each
step!
Numeric Pattern Menu
Start with file NumericPatternMenu.java
Input Validation Method
Start with validateInt() method header in file
NumericPatternMenu.java.
Convert the code we used in class for user input validation into
a method
The method has the following functionality:
Add Java Doc comments before the method header. See how to write
them
here: https://www.oracle.com/technetwork/java ... 37868.html (Links
to an external site.)
Sample code that illustrates validateInt() method use for user
IO:
To run partial tests of your code, copy
NumericPatternMenu.java to Tests folder, replacing existing
original NumericPatternMenu.java file there. Compile and run
TestAll.java. See results in _gradingLog.txt file in Test
folder.
Numeric Pattern Method from TwoMethodsA04.java File
Copy method numericPattern () you wrote as part of TwoMethodsA04
part of the assignment into your project.
Do not forget to add Java Doc comments before the method header.
See how to write them
here: https://www.oracle.com/technetwork/java ... 37868.html (Links
to an external site.)
Menu-Driven main()
Finally write a menu-driven user interaction part that displays
the following menu
step!
Numeric Pattern Menu
Start with file NumericPatternMenu.java
Input Validation Method
Start with validateInt() method header in file
NumericPatternMenu.java.
Convert the code we used in class for user input validation into
a method
The method has the following functionality:
Add Java Doc comments before the method header. See how to write
them
here: https://www.oracle.com/technetwork/java ... 37868.html (Links
to an external site.)
Sample code that illustrates validateInt() method use for user
IO:
To run partial tests of your code, copy
NumericPatternMenu.java to Tests folder, replacing existing
original NumericPatternMenu.java file there. Compile and run
TestAll.java. See results in _gradingLog.txt file in Test
folder.
Numeric Pattern Method from TwoMethodsA04.java File
Copy method numericPattern () you wrote as part of TwoMethodsA04
part of the assignment into your project.
Do not forget to add Java Doc comments before the method header.
See how to write them
here: https://www.oracle.com/technetwork/java ... 37868.html (Links
to an external site.)
Menu-Driven main()
Finally write a menu-driven user interaction part that displays
the following menu