Question: c++ programing Given the code: float a = 20,b=6; 1. Write a line of code to divide a/b using integer division and store the answer
Given the code: float a = 20,b=6; 1. Write a line of code to divide a/b using integer division and store the answer into a new variable z. 2. Write a line of code to divide a/b using regular division and store the answer into a new variable z. 3. Write a line of code to divide a/b using modulo division and store the answer into a new variable z
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
