Dear Programmer, I was asked to develop a console programme that reads an integer n and a list of up to 5 divisors (also integers) from the console and computes the sum of all integers up to (but excluding) n which are divisible by any of the five divisors. For example if n = 10, and the list of divisors provided is [3, 5] then the numbers divisible by 3 or 5 are 3, 5, 6, 9 and their sum is 23 and hence the output is 23.

Then also create a Web Service for the above programme.

Ok. So what have you done so far and where are you stuck?

To whom do I make the invoice out to?

Probably soverflow :D

Be a part of the DaniWeb community

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