java please. please type out screenshots aren't very visible
Write a method sumOfNumbersUpToNExceptMultiplesOfX(int n, int x)that returns the sum of all numbers 1-n including n, except if thevalue is a multiple of x ( evenly divisible by x ).
java please. please type out screenshots aren't very visible Write a method sumOfNumbersUpToNExceptMultiplesOfX(int n, i
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am