728x90
반응형
문제 : https://codeup.kr/problem.php?id=1117
문제 설명
두 실수를 입력받아 두 실수의 곱을 출력하되 소수 둘째자리까지 출력하시오.
#include <stdio.h>
int main(){
float a,b;
scanf("%f %f",&a,&b);
printf("%.2f",a*b);
return 0;
}
728x90
반응형
최근댓글