Multiplicación de dos números en Java usando escáner
import java.util.Scanner;
public class Multiplynumbers {
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
System.out.println("enter the first number");
int a= scan.nextInt();
System.out.println("enter the second number");
int b= scan.nextInt();
int c=a*b;
System.out.println(c);
}
}
Md Saiful