UVA 11879 - Multiple of 17

Problem PDF

Solution:

#include
#include
int main()
{
    int i,sum,r,l;
    char s[1020];
    while(gets(s))
    {
        r=0;
        l=strlen(s);
        if(l==1 && s[0]=='0')
        break;
        for(i=0;i
https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/11879/11879.cpp