You are viewing a single comment's thread. Return to all comments →
DELIMITER ## CREATE PROCEDURE pattern_print() BEGIN DECLARE i INT DEFAULT 20; WHILE i>0 DO SELECT IF(i = 1, "*", REPEAT("* ", i)); SET i = i - 1; END WHILE; END## DELIMITER ; CALL pattern_print();
Seems like cookies are disabled on this browser, please enable them to open this website
Draw The Triangle 1
You are viewing a single comment's thread. Return to all comments →
For MySQL