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
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
Math,
12 hours ago
Hindi,
12 hours ago
Math,
23 hours ago
Physics,
23 hours ago
Social Sciences,
8 months ago