Saturday, September 21, 2013

uva 11877(cola store)

// Another very easy problem....
#include <stdio.h>
int main()
{
    int i;
    while(scanf("%d",&i)==1){
            if(i==0)
            break;
            printf("%d\n",i/2);
        }
    return 0;
}

No comments:

Post a Comment