Question: What type results when you divide an integer by a float? A float by an integer? Explain why that resulting type makes sense (as opposed

  1. What type results when you divide an integer by a float? A float by an integer?
  2. Explain why that resulting type makes sense (as opposed to some other type).

My answer for the question 1 is both a float. Is it correct?

How about the question 2?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!