```
void complexMethod(int[] array) {
int n = array.length;
int runFor = Math.pow(-1, n) * Math.pow(n, 2);
for (int i = 0; i < runFor; i++) {
System.out.println("Find how complex I am ?")
}
}
```

This variable runFor should be double. The product of the Math.pow operations returns double.

Course: Educative: Interactive Courses for Software Developers

Lesson: Educative: Interactive Courses for Software Developers