Basic Data Types

  • + 3 comments

    i am not able to solve it with cin and cout . can anyone help me plz. code :

    #include <iostream>
    #include <cstdio>
    using namespace std;
    
    int main() {
        int d;
        long int a;
        char c;
        float b;
        double e;
        
        cin>>d>>a>>c>>b>>e;
        cout<<d<<endl<<a<<endl<<c<<endl<<b<<endl<<e;
        
        return 0;
    }