I’m a learning JAVA on eclipse IDE. Just learned If elsestatement, and loop in JAVA.
Using those two write codes for…
Problem 1:
Print the numbers 1 through 10 on one line, with a comma after eachexcept the last value, which should have a preiod after it.
The list should look exactly like:
1,2,3,4,5,6,7,8,9,10.
Use a loop so that you can change a single number in your code toprint this same list from 1 to 20 or 1 to 80 instead.
Problem 2:
Ask the user to enter an integer between 1 and 10.
If the user enters a number out of range, keep asking until theuser enters valide
PayPal Gateway not configured
PayPal Gateway not configured