Helps Plz.....If anyone knows the answer plz help me !
WAP to generate n lines of the following pattern on the computer screen:
*
* *
* * *
* * * *
* * * * *
* * * *
* * *
* *
*
Answers
Answered by
1
Answer:
The program is in the attachment above along with the output.
Explanation:
I am using Java script. I don't know about your language but the logic is still the same. You have to use two different for loops. If you have any doubts, please feel free to ask.
Hope the answer helped you :)
Edit: If the user has to enter the number of lines, simply use the variables n and l used in the program above to accept the values.
Attachments:
Answered by
1
Answer:
sis can u please inbox me please
Similar questions
India Languages,
5 months ago
Math,
5 months ago
Math,
10 months ago
Science,
10 months ago
Biology,
1 year ago