write a program to add two integers number in java
Answers
Answered by
0
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:
hope it helps :)
Answered by
0
Answer:
Hope this will help you :)☺
Attachments:
Similar questions