Integer Counter

Închis Postat la Sep 30, 2002 S-au achitat serviciile după ce au fost prestate
Închis S-au achitat serviciile după ce au fost prestate

Need to modify the following code to prompt user to enter two integers. each between 1 and 100 and then print the integers between the two chosen integers to the display (println) import [url removed, login to view]; class HW4 { public static void main(String args[]) { String num; num=inputMethod(); outputMethod(num); [url removed, login to view](0); } public static String inputMethod() { String response; response = [url removed, login to view]( "Enter an integer greater that 1 and less than 100" ); if(response == null) { [url removed, login to view]( null, "You clicked the Cancel button" ); [url removed, login to view](0); } if([url removed, login to view]("")) { [url removed, login to view]( null, "You must make an entry" ); [url removed, login to view](0); } if(([url removed, login to view](response) <=1) | ([url removed, login to view](response) >=100)) { [url removed, login to view]( null, "Invalid entry, please try again."); [url removed, login to view](0); } return response; } public static void outputMethod(String number) { for(int counter = 1; counter <= [url removed, login to view](number); counter ++) [url removed, login to view](counter); } } Code is needed asap Helppppppppppppppppppppppp!!!.... Mike

## 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 ASAP

Inginerie Java MySQL PHP Arhitectură software Testare software

ID Proiect: #2873437

Detalii despre proiect

Proiect la distanță Activ Sep 30, 2002