cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
square pattern problem
square pattern problem
Nov 29, 2015 at 3:08am UTC
e7kim
(16)
How do I generate a square pattern below given a parameter N (possibly using if statements)? I've been cracking my head over this problem for a week now, to no avail. :(
example: Parameter N=7
1
2
3
4
5
6
7
******* ** ** * * * * * * * * * * * ** ** *******
Last edited on
Nov 29, 2015 at 3:12am UTC
Topic archived. No new replies allowed.