Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<string.h>
- void ispis(char a[],int j){
- int i,k;
- for(i=j;i>=0;i--){
- for(k=i;k>0;k--){
- printf(" ");}
- printf("%c\n",a[i]);
- }
- }
- int main(){
- char a[80];
- int i,j;
- gets(a);
- j=strlen(a);
- ispis(a,j);
- return 0;
- }
Add Comment
Please, Sign In to add comment