You are viewing a single comment's thread. Return to all comments →
using namespace std;
int main() { int a; long b; char c; float d; double e;
scanf("%d %ld %c %f %lf", &a, &b, &c, &d, &e); printf("%d\n%ld\n%c\n%.3f\n%.9lf\n", a, b, c, d, e); return 0;
}
Basic Data Types
You are viewing a single comment's thread. Return to all comments →
include
include
include
using namespace std;
int main() { int a; long b; char c; float d; double e;
}