Advertisement
Guest User

Untitled

a guest
Mar 19th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. public static class Kata
  2. {
  3. public static int Solution(int value)
  4. {
  5. int allCount = 0
  6. for(inr i = 0 ; i < value ; i++)
  7. {
  8. if(value % 5 || value % 3)
  9. {
  10. allCount +=i;
  11. }
  12. }
  13. return allCount;
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement