subject

Consider the following code segment:

int p = 5;
while(p > 0)
{
for(int j = p; j < p*2; j++)
{
System. out. print(" * ");
}
System. out. println();
p--;
}
What will the final result be when run in the console?

* * * * *
* * * *
* * *
* *
*

* * * * * *
* * * * *
* * * *
* * *
* *

*
* *
* * *
* * * *
* * * * *

* * * * * * * * * * * * * * * *
* * * * * * * * * * * * *
* * * * * * * * * *
* * * * * * *
* * * *

* *
* * *
* * * *
* * * * *

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
To check spelling errors in a document, the word application uses the to determine appropriate spelling. internet built-in dictionary user-defined words other text in the document
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Font size, font style, and are all aspects of character formatting.
Answers: 2
question
Computers and Technology, 24.06.2019 10:10
Which view in a presentation program displays a split window showing the slide in the upper half and a blank space in the lower half?
Answers: 1
question
Computers and Technology, 24.06.2019 16:50
Ideally, the backrest is tilted back slightly, so when you turn the wheel your shoulders are the seat.
Answers: 2
You know the right answer?
Consider the following code segment:

int p = 5;
while(p > 0)
{
for(...
Questions
question
Mathematics, 10.09.2021 05:40
question
Mathematics, 10.09.2021 05:40
question
Mathematics, 10.09.2021 05:40