write a program to perform all basic arthmetic operation and display the output
Answers
Answered by
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
0
Explanation:
Happy birthday buddy... god bless you
Many many returns of the day
Similar questions
English,
3 months ago
Physics,
3 months ago
Science,
3 months ago
Psychology,
7 months ago
Geography,
1 year ago