Write Overflow: read two integers and print their product computed as int, as long (widening before multiplying), and widened after multiplying:
int product: -1794967296
long product: 2500000000
widened too late: -1794967296
Overflow happened: true
int range: -2147483648 to 2147483647
(for 50000 50000). Explain why long wrong = a * b; does not help.