Write a java program to assign values to 2 numbers and print half of the sum of these numbers.
Answers
Answered by
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
Math,
4 days ago
Math,
4 days ago
Hindi,
9 days ago
Social Sciences,
8 months ago
Hindi,
8 months ago