StairCase Problem
ฝัง
- เผยแพร่เมื่อ 18 ก.ย. 2024
- بسم الله الرحمن الرحيم والصلاه والسلام على اشرف المرسلين سيدنا محمد وعلى اله وصحبه اجمعين .
هنبدأ مع بعض كورس جديد وهو عن ال problem solving وهى مسائل بتكون موجوده على موقع معين ببدأ احلها برمجيا علشان اقوى مهاراتى فى البرمجه بشكل عام الجميل انك ممكن تحل ب اى لغه انت عايزها على موقع هاكر رانك haker rank
باذن الله الكورس يعجبكم ونطلع منه ب نتايج جميله جدا
Staircase detail
This is a staircase of size :
#
##
###
####
Its base and height are both equal to . It is drawn using # symbols and spaces. The last line is not preceded by any spaces.
Write a program that prints a staircase of size .
Function Description
Complete the staircase function in the editor below.
staircase has the following parameter(s):
int n: an integer