Ad Code

Responsive Advertisement

1294 - Positive Negative Sign

Ismail hosen

Daffodil International University








//Please Follow From Main Function

#include<bits/stdc++.h>

using namespace std;





int main()

{

    int tc;

    long long int a,b, c;

    cin>>tc;

    for(int i=1; i<=tc; i++){

        cin>>a>>b;

        c=(a*b)/2;

        cout<<"Case "<<i<<": "<<c<<endl;

    }

    return 0;

}




Post a Comment

0 Comments