You are viewing a single comment's thread. Return to all comments →
using namespace std;
int main() { // Complete the code. int i; long l; char c; float f; double d; scanf("%d %ld %c %f %lf" , &i, &l, &c, &f, &d); printf("%d\n%ld\n%c\n%.3f\n%.9lf\n", i,l,c,f,d);
return 0;
}
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 →
include
include
using namespace std;
int main() { // Complete the code. int i; long l; char c; float f; double d; scanf("%d %ld %c %f %lf" , &i, &l, &c, &f, &d); printf("%d\n%ld\n%c\n%.3f\n%.9lf\n", i,l,c,f,d);
}