/* Note:Your choice is C IDE */
#include "stdio.h"
#define n 2
#define s 2
struct book
{char NAME[n];
char SCORE[s];
float value;
};
int main(void)
{struct book library;
printf("please enter the book NAME.\n");
gets(library.NAME);
printf("now enter the SCORE.\n");
gets(library.SCORE);
printf("%s by %s:",library.NAME,library.SCORE);
printf("Done.\n");
return 0;
}
最后一个的输出不能理解
求改错
最新推荐文章于 2025-01-05 12:07:11 发布