0
Pattern problem
Input is n=4 Output ā¹ā¹ā¹ ā¹ā¹ā¹ ā¹ &&&&& ā¹ ā¹ā¹ā¹ ā¹ā¹ā¹ Condition n<null
2 Answers
+ 2
Input is 4 but there are 5 lines of output. What if input was odd number? also other than the '&' the character to print looks unfamiliar, if that was Unicode you should've specifically said so (pretty sure that 'ā¹' character isn't in ASCII table).
The condition `n<null` doesn't sound so clear. null is a special data, comparing a value is not equal to null is possible, but n<null doesn't make sense somehow (cmiiw).
(Edit)
I think null is used for checking pointer validity.
+ 3
show your code