Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int i,j,k,row,column,count=0;
- char a[100][100];
- cin>>row>>column;
- for(i=0;i<row;i++)
- {
- for(j=0;j<column;j++)
- cin>>a[i][j];
- }
- for(i=0;i<row;i++)
- {
- for(j;j>=0;j--)
- {
- cout<<a[i][j]<<" ";
- }
- }
- getchar();
- getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement