Question: (a) Write a program that asks the user to enter a floating point number and then breaks it into the integer part and the fractional
(a) Write a program that asks the user to enter a floating point number and then breaks it into the integer part and the fractional part. A typical output is shown below: Please enter a float number: 15.85 Integer part: 15 /um Fractional Part: 0.85 //frac (b) Assuming a starting address of A000 C000, show a memory table for all of the variables in your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
