var n; do { write("Enter number of lines: "); n = read(); } while (n<1 || n>9 || isNaN(n)); for (var i=n; i>=1; i--) { for (var j=1; j<=n; j++) { write(i); } write("\n"); }
(
)
{
}
[
]
"
;
=
+
-
*
!
/
%
&
|