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 09:30
What are the steps involved in accepting all the changes in a document? arrange these in order click edit. click accept or reject. click changes. click accept all.
Answers: 1
question
Computers and Technology, 23.06.2019 06:40
What are the three uses of a screw?
Answers: 2
question
Computers and Technology, 23.06.2019 09:00
Which is the highest level of the hierarchy of needs model? a. humanity b. intrapersonal c. team d. interpersonal
Answers: 1
question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
You know the right answer?
Consider the following code segment:

int p = 5;
while(p > 0)
{
for(...
Questions
question
English, 27.05.2020 05:03
question
Mathematics, 27.05.2020 05:03
question
Engineering, 27.05.2020 05:03
question
Mathematics, 27.05.2020 05:03
question
Mathematics, 27.05.2020 05:03
question
Medicine, 27.05.2020 05:03
question
Mathematics, 27.05.2020 05:57
Questions on the website: 13722359