0

show ***** squear

<html><body><script type="text/javascript"> for (i = 1 ; i <=5 ; i++){ document.write ("<br/>") for ( j=1 ; j <=5 ; j++) { if (i == 1 || i == 5 || j == 1 || j == 5) { document.write (" *" )} else if (j > 1 || j < 5){ document.write ( " ") }} }; </script></body></html>

22nd Nov 2019, 1:48 PM
معاذ عباس
معاذ عباس - avatar
1 Réponse
+ 1
for(var i=1;i<=5;i++){ for(var j=1;j<=5;j++){ document.write("*"); } document.write("<br>"); }
22nd Nov 2019, 1:56 PM
VOID
VOID - avatar