题解 | #牛牛的空格分隔#

牛牛的空格分隔

https://www.nowcoder.com/practice/b2203c4a5c304536a7f577bc885de511

#include <stdio.h>
struct th {
    char le;
    int num1;
    double num2;
};
int main() {
    struct th m= {};
    scanf("%c %d %lf",&m.le,&m.num1,&m.num2);
    printf("%c %d %.6f",m.le,m.num1,m.num2);
}

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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