... HAVE U TRIED .... AT LEAST 3 TIMES ... OK U CAN SEE THIS ...

Monday, December 30, 2013

UVA-11984 :: A Change in Thermal Unit

#include <bits/stdc++.h>
using namespace std ;
int main ()
{
    int t , i ;
    cin>>t ;
    for (i=1 ; i<=t ; i++)
    {
        double c , d ,f ,x;
        cin>>c>>d ;
        f=(9*c)/5 + d ;
        x=(f*5)/9 ;
       printf ("Case %d: %.2lf\n",i,x) ;
    }

    return 0;
}