Answer:
you asked a question so you must have fixed it
Explanation:
logic
Answer:
What exactly are you asking?
Explanation:
Please don't report me, I'll edit my answer once I know the question
Answer:
Yes.
Explanation:
I'm pretty sure you can get in trouble for copying things on that site. But, I don't think you'll get banned or anything like that, maybe at worst, you'll upset a few people (like the person who copied from).
Answer:
sum = 0 must be before for loop. If inside for loop, it will keep resetting sum to 0 each iteration.
Explanation:
hope this helps