2 arrays would be more flexible, but the CASE STATEMENT would be quicker to code.
Arrays:
One array contains the Names of the purfumes:
ar1[0] = "Purfume 1's Name"
ar1[1] = "Purfume 2's Name"
ar1[2] = "Purfume 3's Name"
ar1[3] = "Purfume 4's Name"
ar1[4] = "Purfume 5's Name"
The other array contains the Votes:
ar2[0] = 0
ar2[1] = 1
ar2[2] = 3
ar2[3] = 0
ar2[4] = 5
With the array solution, when assigning the votes, you have to look at your user interface, and how it is designed. With arrays, the trick is to have a means of getting the index number or the Purfume name of the perfume choice from the interface. With a case statement, the trick would be getting the Perfume Name from their choice.
A system that utilises the array option would be more flexible, because you could change the contents of the array at will without changing the code that deals with the vote counting.
But, the array system also requires more code and loops and error checking.
Now, over time, you will begin to spot the systems that can be done using "Hard coding" (Case statements) vs the systems that must be done using Arrays.
Basically, if you're writing a system where data values will change, or code will be reused, then you're going to use the array route. But, when a quick answer is required, the case statement works fiine, and with copy and paste, you can duplicate case statements damn quickly, but then the catch is remembering to change every "hard coded" part of the copied case statement.
i.e. Depends on what you are creating.