#45557: 也可以用while


tc11320811 (李宥澂)

School : 國立臺中第二高級中學
ID : 304188
IP address : [203.71.212.249]
Last Login :
2025-06-16 11:16:18
d068. 該減肥了! -- 板橋高中教學題 | From: [111.253.99.233] | Post Date : 2025-03-16 20:45

 

int main(){
int a;
cin>>a;
while(a>50){
  a--;
  break;
}
cout<<a;
  return 0;
}  

 
ZeroJudge Forum