Coding Global Background
Coding Global

double not correctly printing

Archived 2 years ago
23 messages
0 members
Created 2 years ago
Updated 2 years ago
Open in Discord
T
Zacco
I just started watching brocode's tutorials, but this code isn't working as intended/as he has shown. I know this is a like a really really dumb and simple question but i can't figure it out.

#include <stdio.h>

int main()
{
    double help = 5.202949301920391;

    printf("Pi is: %lf", help);

    return 0;
}
double not correctly printing

Replies (24)