subject

Assume that the int variables i and j have been declared, and that n has been declared and initialized. using for loops (you may need more than one), write code that will cause a triangle of asterisks of size n to be output to the screen. i have this so far and i can't figure out what i'm missing: for (i = 1; i < = n; i++){ for (j = 1; j < = i; j++) { system. console. write("*"); }system. console. write(); }

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
Which type of file can be used to import data into a spreadsheet?
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
What does 21 pilots middle aged name as a band 15 years prior to them naming their band 21 pilots?
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Which component acts as a platform on which application software runs
Answers: 2
question
Computers and Technology, 23.06.2019 17:30
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
You know the right answer?
Assume that the int variables i and j have been declared, and that n has been declared and initializ...
Questions
question
Physics, 10.07.2019 09:40
Questions on the website: 13722367