Read in Level from the console. The variables are Str Dex Con Int Wis and cha should be rolled on 4d6 dice and drop the lowest | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Read in Level from the console. The variables are Str Dex Con Int Wis and cha should be rolled on 4d6 dice and drop the lowest

drop the lowest die and should be called function that takes a pointer to a stat variable as an argument. Hitpoints should be calculated as 1d6+[Con bonus] per level. the dice should be abstracted as a function that accepts a dice type and returns a rolled value

3rd Mar 2018, 7:53 PM
HeLL Bwoy (Manu)
1 Answer
- 2
I need an answer
3rd Mar 2018, 7:53 PM
HeLL Bwoy (Manu)