#include <stdio.h>
int main()
{
int m;
double n;
float x,y;
scanf("%lf",&n);
m = n / 100;
x=m*50.00;
y=n-m*50.00;
printf("%.2lf\n%.2lf\n",x,y);
return 0;
}
PTA 书香节 答案
最新推荐文章于 2024-08-22 17:27:46 发布