... HAVE U TRIED .... AT LEAST 3 TIMES ... OK U CAN SEE THIS ...

Tuesday, December 24, 2013

UVA-458 :: The Decoder

#include <stdio.h>
#include <string.h>

int main ()
{
    char str [1000] , s  ;
    int  i ;

    while (gets (str))
    {
        for (i=0 ; i<strlen(str) ; i++)
        {
            s= str[i] - 7 ;
            str [i] = s ;
        }

        puts (str) ;
    }

     return 0 ;
}