摘要:
#include <stdio.h> typedef union { double math; double phys; double chem; } Score; typedef struct student { char name[10]; int age; Score grade; char 阅读全文
posted @ 2020-07-09 22:46
profesor
阅读(533)
评论(0)
推荐(0)
摘要:
#include <stdio.h> typedef enum {FALSE, TRUE} Boolean; Boolean isEven(int i) { if ( i % 2 == 0 ) return TRUE; else return FALSE; } int main() { int i 阅读全文
posted @ 2020-07-09 20:46
profesor
阅读(118)
评论(0)
推荐(0)