#include <stdio.h>
#include <string.h>

int main(){
    int a[10];
    a[0] = 1;
    a[1] = 2;
    a[2] = 3;
    printf("%d %d %d\n", a[0], a[1], a[2]);
    int b[10] = {0,0,0,0,0,0,0,0,0,0};
    b[0] = 1;
    b[1] = 2;
    b[2] = 3;
    int c;
    for(c=0;c<=2;c++){
        printf("%d ",b[c]);
    }
    printf("\n");
    float d[10];
    int e;
    for(e=0;e<10;e++){
        scanf("%f", &d[e]);
    }
    int f;
    for(f=0;f<10;f++){
        printf("%.2f ", d[f]);
    }
    printf("\n");
    char g[9999];
    scanf("%s", g);
    printf("%s\n", g);
    char h[15];
    int i;
    for(i=0;i<10;i++){
        scanf("%c", &h[i]);
    }
    int j;
    for(j=0;j<10;j++){
        printf("%c", h[j]);
    }
    printf("\n");
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: