Output the bigger number

Output the bigger number

Write a method that will ask for a user to input the two numbers and will output the bigger number.

Example 1:


input data:
6 9
output:
9

Example 2:


input data:
41 30
output:
41
View Java Solution

Seda
Seda Kunda is a web designer and developer with a degree in Computer Science and a great passion for code. Besides code, she enjoys pepperoni pizza, watching the bachelor and sleeping in on Saturdays.
Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn