- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
import java.util.Scanner;
import java.io.*;
public class Multiply {
public static int multiplyNumbers(int n, int m)
{
int i = 0, result = 0;
for(i = 0; i < m; i ++)
result += n;
return result;
}
public static void main(String [] args) {
Scanner sc = new Scanner(System.in);
int n,m,ans;
n = sc.nextInt();
m = sc.nextInt();
ans = multiplyNumbers(n,m);
System.out.println(ans);
}
}