Write a program in java to display the given pattern:
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
please
Answers
Answered by
0
dekho for loop lagao jisme ek variable lelo a jiska value 1 hoga or ek variable lelo jiska value bhi 1 hoga.
phir pahle variable ko loop ka pattern number me use karo jaise pahle loop me 1 dusare me 2 etc .. or dusare variable ko loop ko badhane me use karo ya dono ko ek hi le sakte ho but pahla more efficient hai
karo nhi kar paoge to mai apna youtube channel start krne wala hu jiska info me apne trash jaisa youtube channel coder money me daal dunga
aur usme kai programming language bhi padhunga to apana jarur mai apne failed youtube channel coder money me last video issi topic pe dalunga a ya ho sakta hai ki last video na ho par simply search krna coder money new channel.
abhi new channel banaya nhi hu
Similar questions