3
Answers

C# console app to display solid square with asterisk (*)

suchith madavu

suchith madavu

6y
2.4k
1
If my input n=4 then it should display 4 dots in square shape as follows, 
* *
* *
if n=5 we cant display square with 5  asterisk mark , it should display square with maximun dots(*) here four. 
 
if n=9 then, 
* * *
* * *  
* * * 
 
again for n=10 it should display the same. Any hints 
Answers (3)