Question: user to enter an integer and display it such that is greater than that given value. You can assume that the given integer is positive
user to enter an integer and display it such that is greater than that given value. You can assume that the given integer is positive (i.e. greater than 0).
For example:
| Input | Result |
|---|---|
12000 | The smallest n such that n^2 > 12000 is 110. |
144 | The smallest n such that n^2 > 144 is 13. |
java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
