Computer Science, asked by noobizgamer51, 8 months ago

CAN SOMEONE HELP ME WITH THIS QUESTION: A PROGRAM TO CALCULATE ALL THE CALCULATIONS OF A CALCULATOR (PERFOM MINIMUM OF 12 calculations)​

Answers

Answered by mayureshbelamakar190
1
class pro
{public static void main (int a,int b)
{
int sum;
int sub;
int mul;
int div;
System.out.println(“the addition is “ + sum);
System.out.println(“the subtraction is “ + sub);
System.out.println(“the multiplication is “ + mul);
System.out.println(“the division is “ + div);
}
}

Input your value in the dialogue box and you will get all your calculations



Please mark me as the brainliest
Similar questions