Learn C
Coading is not typing it is imagination......
Sunday, May 24, 2015
string(6)
#include <stdio.h>
#include <stdlib.h>
int main()
{
char ch[10][100],i,n;
scanf("%d",&n);
for(i=0;i<n;i++){
scanf("%s",ch[i]);
}
for(i=n-1;i>=0;i--){
printf("%s\n",ch[i]);
}
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment