You are viewing a single comment's thread. Return to all comments →
using namespace std;
int main() { int i; long l; char c; float f; double d;
// Giriş alma scanf("%d %ld %c %f %lf", &i, &l, &c, &f, &d); // Formatlı çıktı printf("%d\n", i); // int printf("%ld\n", l); // long printf("%c\n", c); // char printf("%.3f\n", f); // float (3 basamak) printf("%.9lf\n", d); // double (9 basamak) 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 i; long l; char c; float f; double d;
}