Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C++ by x8658732 ( 6 years ago )
#include <iostream>
#include <cstring>
using namespace std;
int main(){
char text[110][110]={0};
int y=0;
int len=0;
int max=0;
int j=0;
while(gets(text[y])){
len=strlen(text[y]);
if(max<len){
max=len;
}
y++;
}
for(int j=0;j<max;j++){
for(int i=y;i>0;i--){
cout<<text[i-1][j];
}
cout<<endl;
}
return 0;
}
Revise this Paste