You are viewing a single comment's thread. Return to all comments →
Hey,
Anyone know why this is not accepted? It seems to produce the desired output but is marked as incorrect...
int main() { int i; long l; char c; float f; double d;
scanf("%d %ld %c %f %lf", &i, &l, &c, &f, &d); printf("%d", i); printf("\r"); printf("%ld", l); printf("\r"); printf("%c", c); printf("\r"); printf("%.3f", f); printf("\r"); printf("%.9lf", d); return 0;
}
Basic Data Types
You are viewing a single comment's thread. Return to all comments →
Hey,
Anyone know why this is not accepted? It seems to produce the desired output but is marked as incorrect...
int main() { int i; long l; char c; float f; double d;
}