Algorithm that flips sentences and numbers
#include <stdio.h>
#include<string.h>
int main(void) {
int n,m,j;
char i,t[n],d[n];
printf("enter the first word :");
gets(t);
n=strlen(t);
for(j=n-1;j>=0;j--){
printf("%c",t[j]);
}
return 0;
}