Welcome to Westonci.ca, the Q&A platform where your questions are met with detailed answers from experienced experts. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

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.