Computer Science, asked by luckydancer5420, 8 months ago

write a program assign two numbers and print sum of that number product of that number and division and print all the value

Answers

Answered by rishi2581
2

Answer:

public class Num {

public static void main (String[]args){

int num1 = 3;

int num2 = 3;

sum = num1 + num2;

div = num1 / num2;

System.out.println("The sum of two numbers is " +sum);

System.out.println("The division of two numbers is " +div);

}

}

Explanation:

Hope it helps

Similar questions