Examlex

Solved

The Code Segment Below Displays a Table of Numbers

question 61

Multiple Choice

The code segment below displays a table of numbers. Select an expression to complete the code segment, so that the resulting algorithm has O(n2) running time. for (int k = 1; k <= n; k++)
{
For _______________________
{
System.out.print(j + " ") ;
}
System.out.println() ;
}


Definitions:

Related Questions