Write a program in java to calculate big value of 2 numbers

No comments
import  java.util.*;
class big
{
public  static  void  main(String  obj [ ])
   {
      int a, b;
Scanner.sc=new  scanner (system.in);
System.out.println (“Enter  the  value  of  a  &  b”);
a=sc  nextInt ();
b=sc  nextInt ();
if(a>b)
system.out.println(“a  is  big”);
if(b>a)
system.out.println(“b  is  big”)
       }
}

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀