hello i want to wirte a program of find largest number of two
taniyakausa:
two numbers
Answers
Answered by
1
hey mate ur ans
import java.util.*;
class as
{
public static void main (String args[])
{
Scanner s = new Scanner(System.in)
int a,b,c;
a= in.nextInt();
b=in.NextInt();
c=Maths max(a,b);
System.out.println("the largest of two numbers is");
}
}
import java.util.*;
class as
{
public static void main (String args[])
{
Scanner s = new Scanner(System.in)
int a,b,c;
a= in.nextInt();
b=in.NextInt();
c=Maths max(a,b);
System.out.println("the largest of two numbers is");
}
}
Similar questions