Code to calculate Risk dice odds
/*
* odds.c -- calculate the odds of winning/losing various dice
* configurations in the game "Risk"
*/
#include
main()
{
int a1=0, a2=0, a3=0, d1=0, d2=0;
int atotal=0, dtotal=0;
int atotalhi=0, atotalmid=0;
int dtotalhi=0, dtotalmid=0 ...