Computer Science, asked by aliansar6542111, 3 months ago

Write a Java program to add two numbers, where the values are a=3,b=9​

Answers

Answered by Anonymous
1

Explanation:

import java.util*;

class Addnumbers

{

public static void main (string[ ]args)

int a = 3, b = 9;

int sum;

{

sum = a+b;

System.out.println("The sum of 3 and 9 is"+sum);

}

}

Hope this is helpful to you

Similar questions