Question: Write code to complete the following tasks: Create two variables called x and y with values 3 0 and 6 , respectively. Perform a division
Write code to complete the following tasks:
Create two variables called x and y with values and respectively.
Perform a division of x by y and assign the result to a variable called div.
Perform a floor division of x by y and assign the result to a variable called fdiv.
Print the values of div and fdiv as well as their data types.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
