3 Pattern O S Surrounded S User Supplies Height Width O O O O 0 Q37199325

3- A pattern of Os surrounded by s ( the user supplies height and width) 寅寅寅寅寅寅宵 o o o o 0

3- A pattern of O’s surrounded by “s ( the user supplies height and width) 寅寅寅寅寅寅宵 o o o o 0 Show transcribed image text 3- A pattern of O’s surrounded by “s ( the user supplies height and width) 寅寅寅寅寅寅宵 o o o o 0


Answer


Since you did not mention the programming language, Iassumed that this is in c++. (I have seen a similar question in C++language). Here is the completed code for

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.