V.Vidhya Logo

V.Vidhya

Functions (Basic)


Q1.

Create a function to roll a dice & display the randomly generated value of the dice (between 1 & 6)

Assume there are 5 turns in the game, so the dice will need to be roled for each turn, therefore call this function that many times.


Prev Post
Math (Object) II
Next Post
Functions with Arguments