How I can correct my c code?

this works perfectly in my environment!

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int error = 1;
    float correction = 0.1;

    printf("error =%d\n", error);
    printf("correction=%0.1f\n", correction);
}

Leave a Comment