<?php for($i=1;$i<=4;$i++){ for($j=1;$j<=7;$j++){ if (j>=5-i && j<=3+i) { echo "*"; } else { echo "#"; } } echo"\n"; }
Standard input is empty
####### ####### ####### #######
PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant j - assumed 'j' in /home/rOPFPl/prog.php on line 4 PHP Notice: Use of undefined constant i - assumed 'i' in /home/rOPFPl/prog.php on line 4 PHP Warning: A non-numeric value encountered in /home/rOPFPl/prog.php on line 4