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

(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 Fractional Part: 0.85 /ltrac (b) Assuming a starting address of A000 co0d, show a memory table for all of the variables in your program

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 Databases Questions!