Computer Science, asked by madhuparna14, 3 months ago

input 3 numbers in java and print out the maximum number​

Answers

Answered by spoon1407
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