You are viewing a single comment's thread. Return to all comments →
using namespace std;
int main() {
// declare variable(s) int i; long ln; char c; float f; double d; // scan input scanf("%d %ld %c %f %lf", &i, &ln, &c, &f, &d); // print output printf("%d\n", i); printf("%ld\n", ln); printf("%c\n", c ); printf("%f\n", f); printf("%lf", 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
using namespace std;
int main() {
}