Multiplication

Report a typo

Write a program that takes two strings as input, converts them to BigDecimal numbers, multiplies them, and prints the result.

Sample Input 1:

100
100

Sample Output 1:

10000

Sample Input 2:

22222222222222222222222222222222222222222.222222222222222222222
55555555555555555555555555555555555555555.555555555555555555555

Sample Output 2:

1234567901234567901234567901234567901234567901234567901234567876543209876543209876.543209876543209876543209876543209876543210
Write a program in Kotlin
import java.math.BigDecimal

fun main() {
// write your code here

}
___

Create a free account to access the full topic