Basic Data Types

  • + 0 comments
    int main() {
        // Complete the code.
        int a;
        long b;
        char c;
        float d;
        double e;
        scanf("%d %ld %c %f %lf ",  &a,&b,&c,&d,&e );
        printf("%d\n%ld\n%c\n%.3f\n%.9lf", a,b,c,d,e);
        return 0;
    }