hello
i am a beginer in java world and i have this question
i want a code to do this
1- prompt to enter a number
2-number not less than 1
3- the output needs to be like this -2+4-6+8-10+12-14+16-18+20 to the number i entered and stops
thanks in advance