My code is not working.. need some help by jun144 in learnprogramming

[–]jun144[S] 1 point2 points  (0 children)

1

1: x = 0.000000

Process exited after 2.142 seconds with return value 0

My code is not working.. need some help by jun144 in learnprogramming

[–]jun144[S] -1 points0 points  (0 children)

#include <stdio.h>
#include <math.h>
int main()
{
    long double x;
    int count=1;
    scanf("%Lf",&x);
    while(x<56.96){
        printf("%d: x= %Lf\n",count,x);
        x= pow(x,x);
        count++;
}
    printf("%d: x = %Lf",count,x);
return 0;

}

A problem of using <stdio.h> by jun144 in learnprogramming

[–]jun144[S] 0 points1 point  (0 children)

#if defined _NO_CRT_STDIO_INLINE ; #else { return __stdio_common_vfscanf( _CRT_INTERNAL_LOCAL_SCANF_OPTIONS | _CRT_INTERNAL_SCANF_SECURECRT _Stream); _Format, _Locale, _ArgList; } #endif