You are viewing a single comment's thread. Return to all comments →
**Solution by Using Cout and Cin **
#include <iostream> #include <cstdio> #include<iomanip> using namespace std; int main() { int int1; long long1; char char1; float float1; double double1; cin>>int1>>long1>>char1>>float1>>double1; cout<<int1<<endl; cout<<long1<<endl; cout<<char1<<endl; cout<<fixed<<setprecision(6)<<float1<<endl; cout<<fixed<<setprecision(9)<<double1; 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 →
**Solution by Using Cout and Cin **