You are viewing a single comment's thread. Return to all comments →
My Solution :
using namespace std;
int main() { int integer; long long long2; char character; float floatnumber; double doublenumber; cin >> integer >> long2 >> character >> floatnumber >> doublenumber; cout << integer << endl; cout << long2 << endl; cout << character << endl; cout << setprecision(10) << floatnumber << endl; cout << setprecision(10) << doublenumber << endl; 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 →
My Solution :
include
include
include
using namespace std;
int main() { int integer; long long long2; char character; float floatnumber; double doublenumber; cin >> integer >> long2 >> character >> floatnumber >> doublenumber; cout << integer << endl; cout << long2 << endl; cout << character << endl; cout << setprecision(10) << floatnumber << endl; cout << setprecision(10) << doublenumber << endl; return 0; }