일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- credential error
- AWS CodePipeline
- NODE_VERSION
- expo
- node
- react
- 이미지 좌표 추출
- can't getting credentials
- ogr2ogr
- 이미지 맵
- EC2
- 설치완료안됨
- SASS
- AWS CodeBuild
- GeoJSON object too complex/large
- ERR_PNPM_NO_GLOBAL_BIN_DIR
- S3
- 반응형 페이지 좌표 변환
- netlify variables
- Error:error:0308010C:digital envelope routines::unsupported
- aws ec2
- AWS
- C언어
- Unable to find the global bin directory
- 김골라
- nodejs
- CSS
- rwdImageMaps
- Sequelize Error: Dialect needs to be explicitly supplied as of v4.0.0
- 어셈블리어
- Today
- Total
목록C언어 (2)
ImFe's study

배열에 관련된 코딩을 해야하는 과제이다. 1. 0 이전까지의 배열의 크기를 계산(배열의 갯수) 2. 배열변수들의 값의 합계, 그중 최소값, 그중 최대 값을 계산 #include //system사용을 위해서 사용(콘솔 바로꺼짐 방지) #include int main() { int sum = 0; // 배열의 합을 저장할 변수 int max; // 배열의 최댓값을 저장할 변수 int min; // 배열의 최솟값을 저장할 변수 int number[12] = { 90,11,54,69,21,34,57,87,46,9,77,0 }; printf("배열변수에 저장된 %d개의 값\n", sizeof(number) / sizeof(int) - 1); // 과제에서 0이전까지만 세기로 했으니까 -1해줌 max = numbe..
#include #include #define PHI 3.141592 int main(void) { int salary, deposit, year; float area, radius; printf("당신의 10년간 월급(원) 총액을 계산하는 프로그램입니다.\n"); printf("월급을 입력하세요 : \n"); scanf_s("%d", &salary); printf("당신의 10년간 월급 총액은 %d원 입니다.\n", salary * 120); //특별한 문제없이 해결 printf("원의 면적을 계산하는 프로그램입니다.\n"); printf("반지름을 입력하세요 : \n"); scanf_s("%f", &radius); printf("원의 면적은 %f입니다.", radius*radius*PHI);//입출력..