Back To Java Basics Index
//program to input two numbers and find their product public class producttwointegers { public static void main(String[] args) { int a,b; int product; a=10; b=5; product=a*b; System.out.println("product of a and b is " + product); } }