this is my assignment and below is the my code where am I wrong?....Write a program that simulates the tossing of 3 die and computes the probability of obtaining each of the values 3 to 18. Your program should ask the user how many rolls to simulate, and then perform the simulation and report the results. Include an appropriate srand() function so you get different results each time.
Look at your first for statement. The actual argument, in parenthesis... I think you'll be able to spot what's wrong. At least, I'd rather not have to spell it out so plainly.