I have the following question.. how can I record and display statistics? I have an app, that chooses between the words Yes, No and Maybe from an Array with a random command. How can I display, how many times the Words appear?
That's trivial. Set up three integer variables for counters for 'yes', 'no' and 'maybe', loop through the array and count each item. Then calculate the percentage based on that and the array count.