Back to: Java Program’s
public class Average { public static void main(String args[]) { int numberone=230; int numbertwo=980; int average=numberone+numbertwo/2; System.out.println("The 1st number is"+numberone); System.out.println("The 2st number is"+numbertwo); System.out.println("The Average is"+average); } }
Submitted By: Ms. Zarin Shroff
If this program was helpful to you, do leave a comment.
All Creadit goes to Ms. Zarin Shroff
P.N. : All the post on this website are for demonstration and education purpose only.
Student should perform all the practicals for there personal copies.