一応友達のアドバイスもあって、
プログラムが出来ました。
ありがとうございました。
#include<stdio.h>


int main(void)
{
int rot,loop;

loop = 1;


while(loop <=100)
{
scanf("%c",&rot);
if('a'<=rot && rot<='m')
rot = rot+13;
printf("%c",rot+13);



if('n'<= rot && rot<='z')
rot = rot-13;
printf("%c",rot-13);
}

return 0;
}