Study/code up
[codeup] 1118 : 삼각형의 넓이 구하기
1nfra
2020. 5. 1. 20:56
728x90
1 2 3 4 5 6 7 8 9 10 11 12 | #include <stdio.h> int main() { float a, b; float i; scanf("%f %f", &a, &b); i = (a * b) / 2; printf("%.1f", i); } | cs |
728x90