... 않음 include <stdio.h> int main() { int kor, math; double avg; printf("국어 수학 점수는 ? "); scanf("%d %d", &kor, &math); avg = (double)(kor + math) / 2.0...
... 않음 include <stdio.h> include <stdlib.h> int main() { int a, b; double result; char op; printf("사칙연산 계산기(식: 3 * 9, 20/3)\n"); printf("수식: "); scanf...
... include <stdio.h> include <stdlib.h> int main() { int i; double sum; sum = 0.5; i = 1; //for (;;) while (sum <= 6)//역조건 { i++; sum*=2; } sum /= 2; i--; printf("%d까지의 합이%.1lf...
태그: include
... Here's an example of how to print a simple pattern of hashes (``) in C: ```c include <stdio.h> int main() { int i, j; int rows = 5; // change this...
태그: include
include <stdio.h> include <stdlib.h> int main() { int i, j; int n; printf("몇째줄까지 출력할까요?"); scanf("%d", &n); for (i = 0; i < n ; i++) { for (j = 0; j < i; j++) {printf...
태그: include
... 있나요ㅠㅠ include <Wire.h> include <LiquidCrystal_I2C.h> // I2C 주소가 0x27인 16x2 LCD 설정 LiquidCrystal_I2C lcd(0x27, 16, 2); // 핀 정의 define ENCODER...
include <stdio.h> main( ) { int a, b, mul, msum = 0; printf("끝 숫자를 입력하시오. : "); scanf("%d",&b); printf("곱하고 싶은 배수를 입력하시오. : "); scanf("%d",&mul)...
태그: include
define _CRT_SECURE_NO_WARNINGS include <stdio.h> include <time.h> long totalday(int y, int m, int d); int main(){ int sy, sm, sd, fy, fm, fd, dates; printf("첫번째...
include <stdio.h> main( ) { int s, e, mul, sum = 0; printf("끝 숫자를 입력하시오. : "); scanf("%d",&e); printf("더하고 싶은 배수를 입력하시오....
include<stdio> int 1, j; for(i=1; 1<=5; i++) { printf(" * " ); } printf("\n"); } for(i=1; 1<=5; i++) { printf(" * " ); } 는 *를 5번 출력을 합니다. printf("\n");는 줄바꿈을...