提交 c208e8ec 编写于 作者: qq_39446688's avatar qq_39446688

Add new file

上级 d6bcfb04
#include <stdio.h>
#include <stdlib.h>
int main(){
float n,od,mt=0;
scanf("%f%f%f",&n,&od,&mt);
for(int i=1;i<=3;i=i+1){
float ans=0;
ans=n-mt+n*od*0.01/12.0;
n=ans;
printf("%.2f\n",ans);
}
return 0;
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册