Question: Define a type float variable and a type double variable and set both of them equal to 1.0/3.0. Print out a line displaying the float
Define a type float variable and a type double variable and set both of them equal to 1.0/3.0. Print out a line displaying the float value three times using 4, 12 and 16 digits to the right of the decimal place. Then print out a similar line using the double value instead of the float value. ( C programming)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
