반응형
#include<stdio.h>
int main()
{
float height = 175.1;
int salary = 3500000;
printf("성명: 홍길동 \n");
printf("키(신장): %lf\n", height + 0.00006);
printf("월급: %d", salary);
return 0;
}
/*
성명: 홍길동
키(신장): 175.100006
월급: 3500000
--------------------------------
Process exited after 0.01984 seconds with return value 0
계속하려면 아무 키나 누르십시오 . . .
*/ 반응형
'C, C++ > 든든한 c programming 단계별 workbook' 카테고리의 다른 글
| Chapter 3 초급 2 (0) | 2019.08.26 |
|---|---|
| Chapter 3 초급 2 (0) | 2019.08.24 |
| Chapter 2 고급2 (0) | 2019.08.24 |
| Chapter2 고급 1 (0) | 2019.08.24 |
| Chapter 2 중급 2 (0) | 2019.08.24 |