Computer Science, asked by aedison1947, 9 days ago

Write a java program to assign values to 2 numbers and print half of the sum of these numbers.

Answers

Answered by sabirahamed
0

Answer:

important java.util.*;

class abc

{

public static void main()

{

int a = 5,b= 6;

int x = (a + b) /2;

System. out. print on(X) ;

}

}

Hope it helps

Similar questions