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, 23.06.2019 18:00
While inserting images, the picture command is usually used to insert photos from a digital camera, and the clip art command is usually used to a.edit the sizes and other characteristics of photos that have been inserted. b.take a screenshot of an image and copy it to the clipboard for pasting. c.search for drawings or other images from a library of prepared pictures. d.make illustrations using lines and shapes that are easy to manipulate.
Answers: 1
question
Computers and Technology, 24.06.2019 17:50
You will subnet the network address 172.31.103.0/24. the network has the following requirements: · room-114 lan will require 27 host ip addresses · room-279 lan will require 25 host ip addresses · room-312 lan will require 14 host ip addresses · room-407 lan will require 8 host ip addresses how many subnets are needed in the network topology?
Answers: 2
question
Computers and Technology, 25.06.2019 00:00
One difference of input method between most desktop computers and most tablets is the memory the touch screen the speech recognition
Answers: 1
question
Computers and Technology, 25.06.2019 08:30
What is the chief concern of cloud computing?
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
Mathematics, 20.07.2019 18:00
question
English, 20.07.2019 18:00
Questions on the website: 13722360