Aside from a few missing semi-colons and mismatched brackets... you just did...
Really it's just not that difficult...
Although I should warn you that if that's an encryption algortythm your Source text would be unrecoverable since every character would be reduced to a value between 0 and 7 by the %8 operation... and there'd be no way to backtrack that to the original text.
Code:
#include <stdio.h>
int main(void)
{
char Source[255];
char dest[255] = {0};
int length
strcpy(Source, "Hello World");
length = strlen(Source);
for(i=0; i < length ;i++)
{
dest[i] = Source[i] + 13; // simple ROT13 encryption
}
printf("%s \n", dest);
return 0;
}
What you need to do is climb into a good book or tutorial on C ... read page by page, compile the examples, do the exercises... actually learn C ... you'll be glad you did.