anomer7/JavaAssignment
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
1. Export the project into Eclipse. 2. Run the build.xml 3. Copy the JavaAssignment.jar from the dist folder and paste it anywhere. 4. Now using terminal enter into that directory and run the .jar file as follows: $ java -jar JavaAssignment.jar example: $ java -jar JavaAssignment.jar Output: $ Enter an Integer Base(>1): 2 Please Enter a Positive Integer: 128 Floor of Log 128 on base 2 is 7. Enter an Integer Base(>1): 1 You have entered base less than 1.