int a;
for(a = 0; a < array.length; a++) {
if(array[a]%2 == 0) {
array[a]*=-1;
}
System.out.println(array[a]);
}
}
}
Attila Ágoston
Level 5
It's working ;)
Under discussion
Comments
- Popular
- New
- Old
You must be signed in to leave a comment
This page doesn't have any comments yet