What is wrong with the following NAME_1 main method which is intended to add the numbers from 1 to
4 together and print out the result which should be 10? Give a correct version:
public static void main (String[] args) {
int total = 0;
for (int i = 1; i < 4; i++)
total = total+i;
System.out.println("Total: " + total);
}