GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — uri_solve_cpp/uri1079.cpp at master · bappasahabapi/uri_solve_cpp Expand file tree/ Copy pathuri1079.cppMore file actions 23 lines (18 loc) · 333 Bytes / Copy pathuri1079.cppFile metadata and controls23 lines (18 loc) · 333 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 #include<iostream> #include<iomanip> using namespace std; int main() { int n; double a,b,c; cout<<fixed<<setprecision(1); cin>>n; for(int i=0;i<n;i++) { cin>>a; cin>>b; cin>>c; double sum =((a*2+b*3+c*5)/(2+3+5)); cout<<sum<<endl; } } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |