Question: Please solve it the easy and simple way. Keep it understandable and simple. Do not include extra difficult libraries etc. This is the assignment for

Please solve it the easy and simple way. Keep it understandable and simple. Do not include extra difficult libraries etc. This is the assignment for a 2nd grade structured programming course. I have a limited time, thanks.
Swapping Fractional Parts: A number with a decimal point is the sum of two parts: an integer part before the decimal point and a fractional part which is after the decimal point. For example, 2.43 has 2 as the integer part and .43 as the fractional part. Write a program that asks the user to input two numbers of the type double or float, and outputs them with the fractional parts interchanged. For example if the numbers input are 3.45 and 2.97, the output should be 3.97 and 2.45. You can use either float or double as the type. C:\Users\wing\Desktop\2.exe Please input two numbers: 3.45 2.97 numbers with fractional parts swapped 3.97 Process exited after 8.53 seconds with return value o Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
