UVA 12461 - Airplane

Problem PDF

Solution:

#include
int main()
{
    int a;
    while(scanf("%d",&a)==1)
    {
        if(a==0)
            break;
        else
        printf("1/2\n");
    }
return 0;
}
https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/12461/12461.cpp