1-4.1
题目描述:
3名同学3h可以扫干净3间教师,那么9名同学9h可以扫干净几间教室?
#include<iostream>
using namespace std;
int main(){
int time; //打扫一间教室需要几个小时
time=3*3/3;
int answer=9*9/time;
cout<<answer<<endl;
return 0;
}
题目描述:
3名同学3h可以扫干净3间教师,那么9名同学9h可以扫干净几间教室?
#include<iostream>
using namespace std;
int main(){
int time; //打扫一间教室需要几个小时
time=3*3/3;
int answer=9*9/time;
cout<<answer<<endl;
return 0;
}