- 一级
E
- 2023-7-24 11:27:32 @
#include <bits/stdc++.h>
using namespace std;
int main()
{
double n=0;
cin>>n;
if(n>=0)
{
printf("%.2f",n);
}
else if(n<0)
{
n=0-n;
printf("%.2f",n);
}
return 0;
}
0 comments
No comments so far...