ah nvm, I changed tempc to an integar and it worked with %g to print the farn temp
ty for that i didnt realize the print depended on that
Type: Posts; User: Aequitas
ah nvm, I changed tempc to an integar and it worked with %g to print the farn temp
ty for that i didnt realize the print depended on that
ok i tried that and replaced the second %d in printf("| %d | %d |\n",tempc, farn);
with %g, %lg, %lf, i tried everything and none of them worked, most gave me an incredibly small negative...
this is what i have so far later i will add a step but 'farn' returns a large number like 2 million or something
#include <stdio.h>
int main(void)
{
int index = 0;
double tempc;