Sorry I was doing this on a website. It messed up when I moved it here. But I fixed the problem.
Type: Posts; User: Leonardo1143
Sorry I was doing this on a website. It messed up when I moved it here. But I fixed the problem.
public boolean sum28(int[] nums) {
int [] sum28 = {10,2,2,2,2,50};
int sum;
for (int i=0; i<sum28.length; i++) //This will cycle through the elements
{
if (sum28[i] == 2) //If...