task3.c

#include<stdio.h>
int main()
{
    double x, y;
    char c1, c2, c3;
    int a1, a2, a3;
    scanf("%d %d %d", &a1, &a2, &a3);
    printf("%d,%d,%d\n", a1, a2, a3);
    scanf(" %c %c %c", &c1, &c2, &c3);
    printf("%c,%c,%c\n", c1, c2, c3);
    scanf("%lf %lf", &x, &y);
    printf("%.1lf,%.1lf\n", x, y);

        return 0;
}

 

posted on 2022-03-22 19:30  孙羽彤  阅读(16)  评论(0编辑  收藏  举报

导航