Sunday, April 24, 2016

UVA 11984 - A Change in Thermal U -Solution

Unknown
#include <stdio.h>
int main()
{
    int t, n=1,c,d;
    float cf;
    scanf("%d",&t);
    while (t--)
    {
        scanf("%d%d",&c,&d);
        cf=(float)c+((float)d*5.0)/9.0;
        printf("Case %d: %0.2f\n",n++,cf);
    }
    return 0;
}

Unknown

Studying at Shahjalal University of Science and Technology, Sylhet.

0 comments:

Post a Comment

Coprights @ 2016,