Created
April 3, 2016 15:10
-
-
Save nikos-glikis/0ce522e98cb2cee4811d11fe1e4c6f83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
//Why is this happening ????????? | |
float x = 0.1; | |
while (x!=1.1) | |
{ | |
printf("x = %f\n", x); | |
x = x + 0.1; | |
getchar(); | |
} | |
return 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment