Streets and houses

  • 4
  • Locked
A street brawl is going down. The even and odd sides of the street are trying to figure out who's tougher, and absolutely everybody, even little babies, are joining the fray. Let's determine which side has a higher chance of winning (more residents means better chances). We'll create an array of 15 numbers (15 houses, the array index is the house number). Then we'll write the number of residents in each cell and tally up the number of people on the even and odd sides of the street.
You can't complete this task, because you're not signed in.