// ~Airthmatic Operators
// problem:
// airth06_01.java{wirte java program showing the waorking of all Airthmatic Operators.}
class airth06_01
{
public static void main(String args[])
{
int x= 10 , y= 10;
System.out.println("Value of x = "+x+" and value of y = "+y);
System.out.println("SUM of "+x+" and "+y+" is "+(x+y));
System.out.println("SUBSTRACTION of "+x+" and "+y+" is "+(x-y));
System.out.println("MULTIPLICATION of "+x+" and "+y+" is "+(x*y));
System.out.println("DIVIDE of "+x+" and "+y+" is "+(x/y));
System.out.println("MODULAS of "+x+" and "+y+" is "+(x%y));
System.out.println("SUM and EQUAL of "+x+" and "+y+" is "+(x += y));
System.out.println("SUBSTRACTION and EQUAL of "+x+" and "+y+" is "+(x -= y));
System.out.println("MULTIPLICATION and EQUAL of "+x+" and "+y+" is "+(x *= y));
System.out.println("DIVIDE and EQUAL of "+x+" and "+y+" is "+(x /= y));
System.out.println("MODULAS and EQUAL of "+x+" and "+y+" is "+(x %= y));
System.out.println("ENDING THE PROGRAM...\n:-) THANK YOU (-:");
}
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)