Computer Science, asked by priyasingh58170, 4 months ago

write a program to perform all basic arthmetic operation and display the output​

Answers

Answered by pg2122777
1

Answer:

class A

{

public static void main (String args [])

{

int a= 5;

int b= 2;

int x,y,z,m;

x = a + b;

y = a - b;

z = a*b;

m=a/b;

System.out.println("Sum = "+x);

System.out.println("Subtraction= "+y);

System.out.println("Product = "+z);

System.out.println("Division = "+m)

}

}

Explanation:

Hope it helped...

Answered by llUnknown23ll
0

Explanation:

Happy birthday buddy... god bless you

Many many returns of the day

Similar questions