this code Works
#include <cs50.h>
#include <stdio.h>
#include <string.h>
int main(void)
{
int k;
printf("write as trin\n");
string s= GetString();
for (int i=0; i<strlen(s);++i)
{
if(s[i]+13>122 || s[i]+13>90)
k=s[i]-109;
{
printf("%c\n",'a'+(k-1));
}
}}
when i add the else no..
#include <cs50.h>
#include <stdio.h>
#include <string.h>
int main(void)
{
int k;
printf("write as trin\n");
string s= GetString();
for (int i=0; i<strlen(s);++i)
{
if(s[i]+13>122 || s[i]+13>90);
k=s[i]-109;
{
printf("%c\n",'a'+(k-1));
}
else
{
printf("%c",s[i]+13);
}
}}