Question: Write a complete program ( all header files, variable declarations, etc ) that performs the following tasks: 1 ) Prompt the user for an integer,
Write a complete program all header files, variable declarations, etc that performs
the following tasks:
Prompt the user for an integer,
Input the response to the integer variable num
Prompt the user for a a second integer,
Input the response to the integer variable num
Divide num by num and store the result in the float variable calc,
Output the value of calc to the screen with two decimal places of precision.
Be careful of integer division
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
