17
Jan

When you perform arithmetic with variables or constants of the same type, the result of the operation retains the same type. For example, when you take two ints and multiplying…