[9498/Cpp] ์ํ ์ฑ์ #include using namespace std; int main(){ int a; scanf("%d", &a); if (a=90) printf("A"); else if (a=80) printf("B"); else if (a=70) printf("C"); else if (a=60) printf("D"); else printf("F"); return 0; } ๐โ๏ธBaekjoon/C++ 2021.09.03
[1330/Cpp] ๋ ์ ๋น๊ตํ๊ธฐ #include using namespace std; int main(){ int a,b; cin >> a >> b ; if (a>b) cout ๐โ๏ธBaekjoon/C++ 2021.09.03
[10430/Cpp] ๋๋จธ์ง #include using namespace std; int main(){ int A,B; scanf("%d %d ", &A, &B); printf("%d\n",A*(B%10)); printf("%d\n",A*((B/10)%10)); printf("%d\n",A*(B/100)); printf("%d",A*B); return 0; } ๐โ๏ธBaekjoon/C++ 2021.09.02
[10869/Cpp] ์ฌ์น์ฐ์ฐ #include #include using namespace std; 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",a%b); return 0; } ๐โ๏ธBaekjoon/C++ 2021.09.02
[1008/Cpp] A/B #include #include using namespace std; int main(){ double a,b; scanf("%lf %lf", &a, &b); printf("%.10lf",a/b); return 0; } ์๋์ค์ฐจ๊ฐ 10-9 ์ดํ์ด๋ฉด ์ ๋ต์ด๋ค. => ์ถ๋ ฅ๋ฒ์ ์กฐ์ ๐โ๏ธBaekjoon/C++ 2021.09.02
[10998/Cpp] A×B #include using namespace std; int main(){ int a,b; cin >> a >> b; cout ๐โ๏ธBaekjoon/C++ 2021.09.02
[1001/Cpp] A-B #include using namespace std; int main(){ int a,b; cin >> a >> b; cout ๐โ๏ธBaekjoon/C++ 2021.09.02
[1000/Cpp] A+B #include using namespace std; int main(){ int a,b; cin >> a >> b; cout ๐โ๏ธBaekjoon/C++ 2021.09.02
[10172/Cpp] ๊ฐ์์ง #include using namespace std; int main(){ cout ๐โ๏ธBaekjoon/C++ 2021.09.02
[10171/Cpp] ๊ณ ์์ด #include using namespace std; int main(){ cout ๐โ๏ธBaekjoon/C++ 2021.09.01