U E D R , A S I H C RSS

새싹교실/2017/공기반소리반/과제방


1.1. 정인호

1.1.1.

#include <stdio.h>

int main() {
	printf("|\\_/|\n");
	printf("|q p|   /}\n");
	printf("( 0 )\"");
	printf("\"\"\\\n");
	printf("|\"^\"     |\n");
	printf("||_/=\\\\__|");
	
	return 0;
}
})

1.1.2. 사칙 연산

(#include <stdio.h>

int main() {
	int A, B;
        scanf("%d %d", &A, &B);
	printf("%d\n", A+B);
	printf("%d\n", A-B);
	printf("%d\n", A*B);
	printf("%d\n", A/B);
	printf("%d\n", A%B);
	return 0;
})

1.2. 최리나

1.2.1.

#include <stdio.h>

int main() {
	printf("|\\_/|\n");
	printf("|q p|	/\n");
	printf("( 0 )\"\"\"\\\n");
	printf("|\"^\"\'	|\n");
	printf("||_/=\\\\__|\n");
	
	return 0;
}

1.2.2. 사칙 연산

#include <stdio.h>

int main() {
	int A, B;
	scanf("%d %d", &A, &B);
	printf("%d\n", A + B);
	printf("%d\n", A - B);
	printf("%d\n", A*B);
	printf("%d\n", A / B);
	printf("%d\n", A%B);
	
	return 0;
}
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:30:05
Processing time 0.0163 sec