题解 | #KiKi定义电子日历类#
KiKi定义电子日历类
https://www.nowcoder.com/practice/e4c67097cdb242d9a3f38b7cfe839396
#include <stdio.h> typedef struct TDate{ int day; int month; int year; }TDate; int main() { TDate tdate; scanf("%d%d%d", &tdate.year, &tdate.month, &tdate.day); printf("%d/%d/%d", tdate.day, tdate.month, tdate.year); return 0; }