Develop a Java program to do the addition of given two numbers if both are greater than 10

class Addition 
{
 public static void main(String[] args) 
 {
  int no1, no2, sum;
  no1 = 12;
  no2 = 24;
  if(no1<=10 || no2<=10)
   System.out.println("Addition cannot be performed, SORRY");
  else
  {
   sum = no1 + no2;
   System.out.println("Addition = "+sum);
  }
 }
}
/*  OUTPUT!!!
Addition = 36
*/
Copyright © LetML. Blogger Templates Designed by OddThemes