void main()
{
   declare & initialize variables:
      int keepRolling = 1; (1 means continue - 0 means quit)
   
   loop begin

      call roll function (this will roll & print the dice)
      call prompt function (will return 1=continue, 0=quit)

   if keepRolling is true, jump to loop begin; else exit loop
      
}