Q:

Write a Java program to print the sum of two numbers

0

Write a Java program to print the sum of two numbers
Test Data:
74 + 36
Expected Output :
110

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

public class Exercise2 {
 
 public static void main(String[] args) {
  System.out.println(24+26);
 }
 
}

Sample Output:

50

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now