You are viewing a single comment's thread. Return to all comments →
You can do it too. Its important that the different type of values and by char must separate it:
int i; long l; char ch; float f; double d; scanf("%d %ld %c %f %lf", &i, &l, &ch, &f, &d); printf("%d\n%ld\n" "%c\n" "%.3f\n%.9lf\n", i, l, ch, f, d);
Seems like cookies are disabled on this browser, please enable them to open this website
Basic Data Types
You are viewing a single comment's thread. Return to all comments →
You can do it too. Its important that the different type of values and by char must separate it: