Question: Implement a function void drawDiamonds (int count); that outputs a pattern of diamond shapes in descending sizes from 2^(**) count rows to 2 rows, with
Implement a function void drawDiamonds (int count); that outputs a pattern of diamond shapes in descending sizes from 2^(**) count rows to 2 rows, with correspondingly smaller sizes. To illustrate: below is the output when count is 4 . The only difference from your output is that I've put in underscores instead of spaces to show exactly where the spaces will be output.
Step by Step Solution
There are 3 Steps involved in it
Answer You can implement the drawDiamonds function in C ... View full answer
Get step-by-step solutions from verified subject matter experts
