10 2026 档案

摘要:#include <iostream> #include <iomanip> using namespace std; int main() { int start, end; cin >> start >> end; // 转成总分钟 int s_total = start / 100 * 60 阅读全文
posted @ 2026-10-16 17:54 brown成 阅读(4) 评论(0) 推荐(0)
摘要:include include using namespace std; int main(){ double a,c; //注意题目是实数还是整数 char b; cin>>a>>b>>c; switch(b){ //switch() 后要有个{} case'+':{cout<<fixed<<se 阅读全文
posted @ 2026-10-16 13:26 brown成 阅读(3) 评论(0) 推荐(0)
摘要:switch() //必须有括号,且不能有分号; 阅读全文
posted @ 2026-10-14 21:44 brown成 阅读(4) 评论(0) 推荐(0)
摘要:include #include 如果要使用四舍五入 这一行代码必须加入 using namespace std; int main(){ double C; double F; cin>>F; C=5*(F-32)/9; ** cout<<fixed<<"摄氏温度="<<setprecision( 阅读全文
posted @ 2026-10-06 19:22 brown成 阅读(3) 评论(0) 推荐(0)