55
265
版主
#include<bits/stdc++.h> using namespace std; int main(){ double a,b=0; cin>>a; if(a<=20){ b=a*1.68; } else{ b=a*1.98; } printf("%0.2f",b); return 0; }
使用道具 举报
|山东智趣岛论坛 ( 鲁ICP备2023024048号 )
GMT+8, 2025-3-1 12:25 , Processed in 0.184370 second(s), 35 queries .
Powered by Discuz! X3.3 Licensed
Copyright © 2001-2020, Tencent Cloud.