How many times is the println statement executed?
for (int i = 0; i < 10; i++)
for (int j = 0; j < i; j++)
System.out.println(i * j)
a. 100
b. 20
c. 10
d. 45
d
Computer Science & Information Technology
You might also like to view...
Match the following with their uses:
I. 17" × 22" II. 8" × 1" III. Merge cells IV. Subtitle V. Stacked A. Changes the text orientation from horizontal to vertical for each individual character. B. Common size for a banner on a webpage C. Used to create a Title Row D. Common size for a banner E. Used to add extra descriptions about the chart
Computer Science & Information Technology
Which cout statement will print the address of the variable total?
A. cout << *total; B. cout << &total; C. cout << addressof(total); D. cout << total_ptr;
Computer Science & Information Technology