#Write a program to enter the numbers till the user wants and at the end itshould display the count

7 messages · Page 1 of 1 (latest)

sterile orchid
#

need explanation that why he used positive++ or negative ++ or zeros ++

sand jasperBOT
#

This post has been reserved for your question.

Hey @sterile orchid! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

mossy dagger
#

var++ increments the variable, adding 1 to the variable
similarly, var-- would decrement it
it's used for counting here, think of those variables as counters and ++ is how you count up with them

sterile orchid
#

thanks :}

sand jasperBOT
# sterile orchid thanks :}

If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.

sterile orchid
#

have a nice day