Computer Science, asked by sonirakesh0521, 7 months ago

write a program to enter two decimal values and find their sum using scanner class​

Answers

Answered by Yashicaruthvik
1

Answer:

In this program, two integers 10 and 20 are stored in integer variables first and second respectively. Then, first and second are added using the + operator, and its result is stored in another variable sum . Finally, sum is printed on the screen using println() function.

Explanation: MARK ME AS BRAINLIEST

Similar questions