Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- 개발자
- 백준
- 이웃한 칸
- 코스닥
- frontend
- java
- 모의 주식
- 코테
- backend
- 사물인터넷
- 개인프로젝트
- 자바독학
- 자바정리
- 프로그램
- 개발
- 코딩
- 자바
- java정리
- Reflex
- 빅데이터
- 프로그래머스
- 프로그래밍
- Python
- 풀스택프레임워크
- 코딩독학
- 코딩테스트
- Project
- 주가예측
- C++
- SNS
Archives
- Today
- Total
목록C Programming (104)
Creative Code
celsius2fahr.c(섭씨를 화씨로 바꾸기)
#include int main(void) { int celsius; //celsius = 40; scanf("%d",&celsius); // 섭씨온도 입력받기 double fahr = 9.0 /5.0 * celsius + 32; // 섭씨를 화씨로 바꾸는 공식 printf("celsius :%d ---> fahr : %.1f\n",celsius, fahr);// 화씨온도 출력 return 0; }
C Programming
2023. 7. 31. 15:12
average.c(평균구하기)
#include int main(void) { int korean; int math; int english; printf("국어 점수 : "); scanf("%d",&korean); // 국어 점수를 입력받을 때 printf("수학 점수 : "); scanf("%d",&math); // 수학 점수를 입력받을 때 printf("영어 점수 : "); scanf("%d",&english); // 영어 점수를 입력받을 때 double average = (korean + math + english)/3.0; printf("평균 점수 : %.1f\n",average); return 0; }
C Programming
2023. 7. 31. 15:11