c/기초

정올 506: 출력-자가진단6

phantom0219 2018. 12. 26. 10:47


문제:


       





내 풀이:



1
2
3
4
5
6
7
8
9
10
11
#include<stdio.h>
int main(void){
    int height = 170;
    double weight = 68.6;
    
    printf("My height\n");
    printf("%d\n",height);
    printf("My weight\n");
    printf("%.6f",weight);
    return 0;
}
cs


반응형