Computer Science, asked by Anonymous, 8 months ago

Hey
Friends ❤️
Please answer my question

Q. Write a program in Java to add and multiply two numbers.

Answers

Answered by gomathitayaashri
3

Answer:

Java Program to Calculate the Sum, Multiplication, Division and Subtraction of Two Numbers

public class Calculate.

int m, n, opt, add, sub, mul;

double div;

Scanner s = new Scanner(System.

System. out. print("Enter first number:");

m = s. nextInt();

System. out. print("Enter second number:");

n = s. nextInt();

mark my answer Brainiest answer

follow me pls

Answered by llNehaII
17

Answer:

The Java if statement is the most simple decision-making statement. It is used to decide whether a certain statement or block of statements will be executed or not i.e if a certain condition is true then a block of statement is executed otherwise.

SIS SRY FOR WRONG ANSWER!!

PLEASE HARSH ONLINE HAI ABHI TAB PLEASE UNKO BOLO MUJHE FLW KARE TAKI ME SMJH SKU VO ON H.. MENE PIN LEAVE KR DIYA.. PLEASE UNHE KHO MUJHE UNSE LAST TIME BAAT KRNI H PLEASE SIS -_-"

Similar questions