Question: #include int main () { double x = 1, y = 1; while ((((x + 1.0) x) 1.0) == 0.0) { } X *
#include int main () { double x = 1, y = 1; while ((((x + 1.0) x) 1.0) == 0.0) { } X * = 2.0; printf ("xu-u%. 15euu ", x); } while ((((x + y) { x) - y) != 0.0) y += 1.0; printf ("yu-u%.15 eu ", y); } return 0; (2 points) Explain the output. (2 points) Replace double by float and run it again. Explain the output.
Step by Step Solution
There are 3 Steps involved in it
The given C code include int main double x 1 y 1 First while loop while x 10 x 10 00 x 20 printfx15e x Second while loop while x y x y 00 y 10 printfy15e y return 0 Explanation of the output In the fi... View full answer
Get step-by-step solutions from verified subject matter experts
