hello,am supposed to write a program for a game where only 3 (three) dice are
used.they said i shud throw a dice and its results separately and send it to a function (scoring function).....does this mean that i should create a hpp.file else where or its jus a basic function
why would you need a header here? Of course you could, but they are only needed when working with several .cpp files or libraries.
simply
1. generate num1, num2 and num3
2. call you function calculate_score(num1, num2, num3)
Also, there was already someone here with a similar (or the same) assignment. You could look for that thread...