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