Computer Science, asked by Anonymous, 11 months ago


Question 4)

WAP in JAVA

need solution fast!
exam tomorrow ✨✨



#sumedhian ❤❤​

Attachments:

Answers

Answered by YogeshKiMasti
3

public class AddTwoNumbers {

public class AddTwoNumbers { public static void main(String[] args) {

public class AddTwoNumbers { public static void main(String[] args) {

public class AddTwoNumbers { public static void main(String[] args) { int num1 = 5, num2 = 15, sum;

public class AddTwoNumbers { public static void main(String[] args) { int num1 = 5, num2 = 15, sum; sum = num1 + num2;

public class AddTwoNumbers { public static void main(String[] args) { int num1 = 5, num2 = 15, sum; sum = num1 + num2; System.out.println("Sum of these numbers: "+sum);

public class AddTwoNumbers { public static void main(String[] args) { int num1 = 5, num2 = 15, sum; sum = num1 + num2; System.out.println("Sum of these numbers: "+sum); }

public class AddTwoNumbers { public static void main(String[] args) { int num1 = 5, num2 = 15, sum; sum = num1 + num2; System.out.println("Sum of these numbers: "+sum); }}

Mark as brilliant if you find useful.

Similar questions