Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
matt da61269344 Added in fun edge case where one of the multiple is '1' pirms 2 mēnešiem
.gitignore Initial commit pirms 2 mēnešiem
BracketService.cs Initial commit pirms 2 mēnešiem
JobNimbus_application.csproj Initial commit pirms 2 mēnešiem
README.md Initial commit pirms 2 mēnešiem
SumService.cs Initial commit pirms 2 mēnešiem
Tests.cs Added in fun edge case where one of the multiple is '1' pirms 2 mēnešiem

README.md

JobNimbus_application

To see the results simply run dotnet test

The logic for the bracket counting is in BracketService.cs

The logic for the multiple sum is in SumService.cs

I tested all of the cases specified in Tests.cs

For the sum of all the multiples of 3 or 5 below 1000 I got 233168, assuming you did NOT want to double count values that are divisible by both 3 and 5 (like 15 for example)