Private auction for jmink on 9/30/2002 12:04:37 PM
$15-20 USD
Closed
Posted over 21 years ago
$15-20 USD
Paid on delivery
Any ideas on how I can modify this code to prompt user to enter two integers, each between 1 and 100 and have counter display to screen the numbers between the two chosen? import [login to view URL]; class HW4 { public static void main(String args[]) { String num; num=inputMethod(); outputMethod(num); [login to view URL](0); } public static String inputMethod() { String response; response = [login to view URL]( "Enter an integer greater that 1 and less than 100" ); if(response == null) { [login to view URL]( null, "You clicked the Cancel button" ); [login to view URL](0); } if([login to view URL]("")) { [login to view URL]( null, "You must make an entry" ); [login to view URL](0); } if(([login to view URL](response) <=1) | ([login to view URL](response) >=100)) { [login to view URL]( null, "Invalid entry, please try again."); [login to view URL](0); } return response; } public static void outputMethod(String number) { for(int counter = 1; counter <= [login to view URL](number); counter ++) [login to view URL](counter); } } I am lost...help!!!! Thanks Thanks
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
## Platform
Windows
## Deadline information
need today!