3

I was trying to use long doubles in a bigger code but even this doesn't seem to work.

#include <stdio.h>
#include <math.h>

int main(){
    
    long double I = 10.0;
    long double YOU = 2.0;
    long double WE = I/YOU;
    printf("%Lf", I);


    return 0;
}

No errors, but the output is

-0.000000
recolic
  • 554
  • 4
  • 18

0 Answers0