Welcome to Westonci.ca, your ultimate destination for finding answers to a wide range of questions from experts. Get quick and reliable solutions to your questions from a community of experienced experts on our platform. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

Given an integer num, return the sum of the multiples of num between 1 and 100. For example, if num is 20, the returned value should be the sum of 20, 40, 60, 80, and 100, which is 300. If num is not positive, return 0.

Sagot :