Uptown Coder
Thursday, September 26, 2019
C++: Turn a matrix by 180 degree.
We are given a matrix of any dimension and we need to turn it by 180 degree. Here is the source code for the algorithm in c++.
Output: 12 11 10 9
8 7 6 5
4 3 2 1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment