//PA6 Pgm 1 //Udit Meghraj // March 24 #include #include "math.h" #include "randgen.h" #include "apstring.h" void main() { int points = 30, bet = 5; int choice = 0; int roll1, roll2, sum, target; cout<<"Beat The House Roller!"< 0) { cout<<"points = " << points<>choice; if (choice == 1) { cout<<"how much? "; cin>>bet; while((bet % 5 != 0) || (bet < 0) || (bet > 50)) { cout<<"illegal bet--please bet again:" << endl; cout<<"how much? "; cin>>bet; } roll1 = 0; roll2 = 0; target = roll1 + roll2; cout<<"opening roll: " << roll1 << " + " << roll2 << " = "<< target<