Advertisement
ruhul0

Untitled

Aug 15th, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5.     int i,j,k,row,column,count=0;
  6.     char a[100][100];
  7.     cin>>row>>column;
  8.     for(i=0;i<row;i++)
  9.     {
  10.         for(j=0;j<column;j++)
  11.               cin>>a[i][j];                
  12.     }
  13.     for(i=0;i<row;i++)
  14.     {
  15.         for(j;j>=0;j--)
  16.         {
  17.                cout<<a[i][j]<<" ";        
  18.         }
  19.     }
  20.     getchar();
  21.     getchar();
  22.     return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement