题解 | #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;
}

全部评论

相关推荐

废物一个0offer:认真的吗二本本科找人工智能岗位
点赞 评论 收藏
分享
缒梦&独舞:这家公司是这样的,去年给我实习offer了,不过也是面着玩儿的,他周六还要去做公益志愿活动
点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务