i am trying to make a program to keep running (rolling of two dice) until the total of the two is 10 or 11.
which function and how can i use it to make the program stop running when the total of two dice equals 10 or 11.
i tried with the while loop but that didn't seen to work.

