Question: in codeblock c++ 3. Write a program that requests a floating number and then separately outputs the integer and fractional parts to the output console.

in codeblock c++  in codeblock c++ 3. Write a program that requests a floating

3. Write a program that requests a floating number and then separately outputs the integer and fractional parts to the output console. (The integer part, or integral part of a decimal number is the part to the left of the decimal separator. The part from the decimal separator to the right is the fractional part.) Output Example: INTEGRAL AND FRACTIONAL Enter a floating point value: 3.1415926 Integer part is 3. Fractional part is 0.14159

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!