// Set up a Scanner class to read from standard input
final Scanner in = new Scanner(System.in);
// Prompt for input and read the next integer
System.out.print("Please enter a positive integer: ");
int n = in.nextInt();
// Since we want to print out n lines, iterate n times
for (; n > 0; --n) {
// On each iteration, print out the numbers [1,n]
for (int i = 1; i <= n; ++i) {
System.out.print(i + " ");
}
System.out.println();
}
// Remember to close open resources when we're done.
in.close();
please just take this program off of my computer . I need to take care of things and I can not do them if this program is in operation. a thank you
Hey I'm the owner of this answer, PLEASE CLICK THE DISCUSSION AREA ---->
No
can you please send me a sample program of college examination using sql?thanks...God bless...
Please specific the question. Because I'm about to say for the answer: any.
The question is impossible to answer. You cannot determine an algorithm from a given program if the program is not actually given in the question. Please place the program in the discussion section.
It's nice to take part in the mentoring program. Please do not edit, change or trash this question and the discussion. This content is used for mentoring purposes.
Please see the Discussion area.
More details please. What happened? Answer: I wrote all the details under the discussion tab.
Please refer to Discussion...
The homophone for "nail" is "kneel."
Please see discussion area.
Please refer the discussion area
I want to turn this into a discussion please so please post there if you can
Please see the discussion area.
Please use the Discussion area to be more specific.
Please see discussion page.