I have no idea how to phrase the title so feel free to make changes! I am stuck on this program that I have made involving a loop. I want the input to be `1 5` which means the code starts adding from 1 and all the way until 5, the expected output would be `1 + 2 + 3 + 4 + 5 = 15` but my code (see below) would print something like `1 + 2 + 3 + 4 + 5 + = 15`. How do I get rid of that unwanted addition symbol?

```
public static void main(String[] args) {

    Scanner keyboard = new Scanner(System.in);

    int start = keyboard.nextInt();
    int end = keyboard.nextInt();

    double dend = (double)end;
    double dstart = (double)start;

    double n = (dend - dstart + 1);

    double sum = (n/2)*(dend+dstart);

    int intsum = (int)sum; 

    for (int i =start; i <= end; i++) {
        System.out.print(i+" + ");

    }

    System.out.print(" = "+intsum);

}

```