I’m studying for my C Programming class and don’t understand how to answer this. Can you help me study?
The program has the same requirements as lab 10 with a few small differences:
- In the previous example, you used in individual variable to store the number of times each dice value was rolled.
- For this lab, store all of these values in one array instead.
- By using arrays, you should be able to complete this program with out using any conditionals (if statements).
- So, you must try to do just that. Get this program to work without needing any if statements.