Use a while loop to write a program that calculates the sum of N integers entered by the user. N is a computer generated random number between 5 and 15.
Why not just post the code you have so far? It is easier for us to comment on a known code base than to comment on what we assume you have written.
Start by clicking the Format button that looks like "<>". This will create code tags in the text box. Copy your code from your editor and paste it between the code tags.