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