cout << "Roll again? (y/n)";
no = getchar();
cout << endl;
while(no != 'n');
Just to make sure, this part says 'n' and not 'n'?
BTW: You are using C functions. You gotta get the following into your head: Anything that comes from C is evil (which is just a fancy way of saying, don't use it unless there is no reasonable alternative).