Computer Science, asked by ajdbth, 3 days ago

Wap a to enter a number and assign it to another number and check both number equal or not.​

Answers

Answered by krishsachdevani
0

18 C 17 17 20 DE 11 e 10 17 17 18 (1) Which of them is =u0.m(r which of them is anion w.m(n)(m) is an atom of inest gas

Answered by samarthkrv
0

Answer:

public class Main

{

 public static void main (String[]args)

 {

   java.util.Scanner sc = new java.util.Scanner (System.in);

   System.out.print ("Enter a number:");

   int x = sc.nextInt ();

     System.out.print ("Enter another number:");

   int y = sc.nextInt ();

   if (x == y)

     {

System.out.println ("The numbers are equal");

     }

   else

     {

System.out.println ("The numbers are not equal");

     }

 }

}

Explanation:

Similar questions