Computer Science, asked by renurk2207, 23 hours ago

Write a Java program that will define two integer variables with values a =49 and b=7 and display the sum difference product and divison results of a and b​

Answers

Answered by guptarahulalwaysonl9
0

Answer:

public class Main

{

public static void main(String[] args) {

 int a =49, b=7;

 System.out.println("The difference is "+ (a-b));

 System.out.println("The product is "+ (a*b));

}

}

Explanation:

Similar questions