Hello,

I’m tryin to run a total of prompt numbers until -1 is entered. The total should not include the the -1 in the sum. Any help is appreciated.

```
var s = 0;
var t = 0;
var p = 0;
while (p<0);
{
var number = prompt("Enter a positive number to be added to the total or -1 to end. ");
t += parseInt(number);
t++;
console.log("Enter a positive number to be added to the total or -1 to end. " + number);
}
{
console.log("The sum of all numbers entered is " + t);
}
```