input 3 numbers in java and print out the maximum number
Answers
Answered by
1
Answer:
Take three numbers from the user and print the greatest number in Java
LargestNumberExample5.java
import java.util.Scanner;
public class LargestNumberExample5.
{
public static void main(String args[])
{
int num1, num2, num3;
System.out.println("Enter three integers: ");
Scanner in = new Scanner(System.in);
Similar questions
English,
1 month ago
Social Sciences,
1 month ago
Math,
1 month ago
English,
3 months ago
Math,
3 months ago
Social Sciences,
10 months ago
Social Sciences,
10 months ago
Math,
10 months ago