Question: In swift language, Write a function called rollDicePair. This method should roll two virtual six sided dice. Return the rolled values from the method as
In swift language,
Write a function called rollDicePair. This method should roll two virtual six sided dice. Return the rolled values from the method as a tuple. Use external parameter names on returned values of die1 and die2.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
