c语言数据处理!

  

#include "stdio.h"
    struct
    {
        char name[10];
        long nume;
        char sex[6]};
        char live[30];
        float score;
    }stur;
main()
{   
    printf("请输入您的名字和学号:\n");
    scanf("%s%ld",stur.name,&stur.nume);
    printf("%s\n%ld",stur.name,stur.nume);
}

 

posted @ 2017-01-08 20:51  Doublekai  阅读(381)  评论(0编辑  收藏  举报