https://codeup.kr/problem.php?id=1015
[기초-입출력] 실수 입력받아 둘째 자리까지 출력하기(설명)
C언어기초100제v1.2 : @컴퓨터과학사랑, 전국 정보(컴퓨터)교사 커뮤니티/연구회 - 학교 정보(컴퓨터)선생님들과 함께 수업/방과후학습/동아리활동 등을 통해 재미있게 배워보세요. - 모든 내용
codeup.kr
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
float a;
cin >> a;
cout << fixed << setprecision(2) << a;
return 0;
}