Run ID:81057

提交时间:2024-07-12 09:32:53

#include<iostream> using namespace std; int main(){ int a,b,c,d; float e; a=5; b=8; c=12; e=(a+b+c)/3; printf("%.3f\n",e); cout<<39/5<<" "<<39%5<<endl; cout<<39/8<<" "<<39%8<<endl; cout<<39/12<<" "<<39%12; return 0; }