竞赛
考级
#include<iostream> using namespace std; int main(){ int a,b,c; cin >> a >> b >> c; if(c == 0) cout << "no"; else cout << (a + b) / c; return 0; }
陈老六万岁!💯💯
Jason-JHT
蓝色的字怎么打出来的呀?OwO
阿瓦达啃大瓜
cjdstttttt
水题直接秒
MuktorFM
zsy
别忘了,关注我,给我点赞!!!点开就是代码
People
无敌的鳖佬仔给老爷爷猜猜被
练习一下try,throw,catch的用法,虽然不方便,但是考试会考。
毛奕程
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; if (c == 0) { cout << "no" << endl; } else { cout << (a + b) / c << endl; } return 0; }
༺ཌༀ许宸霖 必回ༀད༻
提交答案之后,这里将显示提交结果~