Write a method called sum100 that returns the sum of the integers from 1 to 100, inclusive.

What will be an ideal response?


```
public int sum100()
{
int sum = 0;
for (int count = 1; count <= 100; count++)
sum += count;
return sum;
}
```

Computer Science & Information Technology

You might also like to view...

When you click the Finish button in the Report Wizard, the report is displayed in a window.

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

Computer Science & Information Technology

____ are programs that enable the browser to work with an embedded object.

A. Applets B. Plug-ins C. Browslets D. Either A or C

Computer Science & Information Technology

____________________ transparency is the ability to make the background of the image transparent at different amounts.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What is Touch icons?

What will be an ideal response?

Computer Science & Information Technology