Thursday, May 31, 2018

UVA - 11597 .cpp file

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n,i=0;
    while(cin>>n,n)
    {
        cout<<"Case "<<++i<<": "<<n/2<<endl;
    }
}

No comments:

Post a Comment