user
Create a program to calculate the sum of the numbers from 1 to 100.

Answer:
assistant
program SumOfNumbers {
  int total = 0;
  for (int i=1; i <= 100; i++) {
    total += i;
  }
  System.out.println(total);
}