subject

Given an int variable n that has already been declared and initialized to a positive value, write a java program that prints the reverse triangle of asterisks with n asterisks on the first line (top of triangle), one less asterisk on the next level, and so on till 1 asterisk on the bottom level. (all asterisks aligned on the left, not centered in the middle, so you don’t need blanks. but think how you would have solved this problems if you’d need to center the triangle! )

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 23:30
The keyboard usually has six rows of keys. which of the following is not one of the key group categories? letter keys number keys control keys graphic keys
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 15:30
What is the function of compilers and interpreters? how does a compiler differ from an interpreter?
Answers: 2
question
Computers and Technology, 24.06.2019 22:00
Iam trying to get my google account back for school and business, can someone ?
Answers: 1
You know the right answer?
Given an int variable n that has already been declared and initialized to a positive value, write a...
Questions
question
Biology, 06.05.2020 04:19
question
Mathematics, 06.05.2020 04:19
question
Mathematics, 06.05.2020 04:19
Questions on the website: 13722360