Computer Science, asked by raghdevansh1697, 6 months ago

Write the syntax to find the sum of two smaller number in java programming

Answers

Answered by pushpanegi1403
5

Answer:

1.Create a separate variable to store the value of the sum. This can be of the type int.

2. The formula to find the sum is: Sum = First Number + Second Number.

3. To get these parameters (inputs) from the user, try using the Scanner function in Java.

Hey mate, here is your answer... Please mark me as brainlist ✌️✌️✅... And follow me..

Mark as brainlist plzzzz...

Similar questions