Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

data type c++

python
#include <iostream>
#include <cstdio>
using namespace std;

int main() {
    // Complete the code.
    int a;
    long l; char c;
    float  f; double d;
    cin>>a>>l>>c>>f>>d;
    cout<<a<<endl<<l<<endl<<c<<endl;
    cout.precision(3);
    cout<<fixed<<f<<endl;
    cout.precision(9);
    cout<<fixed<<d;
    return 0;
}
Source by www.thepoorcoder.com #
 
PREVIOUS NEXT
Tagged: #data #type
ADD COMMENT
Topic
Name
9+5 =