Declare and create an integer array that will contain the numbers 1 through 100. Use a for loop to initialize the indexed variables.

What will be an ideal response?

```
int[] wholeNumbers = new int[100];
for(int i = 0; i < 100; ++i)
wholeNumbers[i] = i + 1;
```

Computer Science & Information Technology

You might also like to view...

CM assists in streamlining change management processes and prevents changes that could detrimentally affect the security posture of a system before they happen.  __________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

To determine whether the item to be inserted is already in the list, the insert function calls the _____ member function.

A. isEmpty B. size C. seqSearch D. copy

Computer Science & Information Technology