- Computer Science
- Theoretical Computer Science
- Compiler Theory
Miracle C compiler will not compile the line of code (float x = 1/a;)
This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!
In the following lines of code, the Miracle C compiler will not compile the line of code in the center (float x = 1/a;). Why does this occur? How can it be corrected?
int a = 3;
float x = 1/a;
printf("The value in x is: %f",x);
© BrainMass Inc. brainmass.com October 9, 2019, 6:49 pm ad1c9bdddf