Run ID:90942
提交时间:2024-09-20 14:53:33
#include <bits/stdc++.h> using namespace std; int main(){ int a=5,b=8,c=12; double average =(a+b+c)/3.0; printf("%.3f\n",average); cout<<39/a<<" "<<39%a<<endl; cout<<39/b<<" "<<39%b<<endl; cout<<39/c<<" "<<39%c<<endl; }