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

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.
先完成此消息的编辑!
想要评论请 注册