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_problem/uri1079.cpp at master · Nayemuzzaman/URI_problem Expand file tree/ Copy pathuri1079.cppMore file actions 22 lines (19 loc) · 393 Bytes / Copy pathuri1079.cppFile metadata and controls22 lines (19 loc) · 393 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 #include<iostream> #include<stdio.h> /** * Problem No: URI Online Judge Problem 1079 * Solution in C++ language * Author: Nayemuzzaman **/ using namespace std; int main(){ float t,p,k,in,res,aveg; int i; scanf("%d",&i); for(int j=1;j<=i;j++){ scanf("%f %f %f",&t,&p,&k); res = t*2.0+p*3.0+k*5.0; aveg = res/10.0; printf("%.1f\n",aveg); } } |
| 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. |