Computers and Technology

Assume that the int variables i, j and n have been declared , and n has been initialized . write code that causes a "triangle" of asterisks to be output to the screen, i. e., n lines should be printed out, the first consisting of a single asterisk, the second consisting of two asterisks, the third consisting of three, etc. the last line should consist of n asterisks. thus, for example, if n has value 3, the output of your code should be (scroll down if necessary): * ** ***

answer
Answers: 1

Similar questions

Do you know the correct answer?
Assume that the int variables i, j and n have been declared , and n has been initialized . write cod...

Questions in other subjects:

Konu
History, 10.07.2019 12:00
Konu
Physics, 10.07.2019 12:00
Konu
Mathematics, 10.07.2019 12:00
Konu
History, 10.07.2019 12:00