How do i take a input that is space separated?

Do i change the x in the for loop?

1 Like

I tried dividing but it gave me the error "
The operator / is undefined for the argument type(s) int, int[]

1 Like

Say something like scale1=int(…/…);

Hmm i got the same issue too

Did you take the sum of the array?

You can’t take the array

Show your code because otherwise we can’t see what you do

that’s a new goal that was not part of the original.

Do you understand my solution, why I wrote to take the sum?