write a loop which sums all values between 10 and 100 into a variable called total. assume that total has not been initiated to zero.

Have you tried? We don't do people's homework here. Show some effort at solving the problem yourself and what specific problem you are having with it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.