Write a program in java to accept two numbers and find the greatest.
fast please
Answers
Input two or integers from the user and find the greatest number among them.
Input two or integers from the user and find the greatest number among them....
Input two or integers from the user and find the greatest number among them....Greatest_of_three_numbers(num1,num2):
Input two or integers from the user and find the greatest number among them....Greatest_of_three_numbers(num1,num2):If (num1 > num2) and (num1 > num3)
Input two or integers from the user and find the greatest number among them....Greatest_of_three_numbers(num1,num2):If (num1 > num2) and (num1 > num3)Print num1.
Input two or integers from the user and find the greatest number among them....Greatest_of_three_numbers(num1,num2):If (num1 > num2) and (num1 > num3)Print num1.Else if (num2 > num1) and (num 2 > num3)
Input two or integers from the user and find the greatest number among them....Greatest_of_three_numbers(num1,num2):If (num1 > num2) and (num1 > num3)Print num1.Else if (num2 > num1) and (num 2 > num3)Print num2.
Input two or integers from the user and find the greatest number among them....Greatest_of_three_numbers(num1,num2):If (num1 > num2) and (num1 > num3)Print num1.Else if (num2 > num1) and (num 2 > num3)Print num2.Else, print num3.
Explanation:
Hope it is helpful for you and mark as brainliest please.