program does not work:
Can you alaborate a little more than that?
Your fist for loop needs to have its statements wrapped in brackets since there are multiple lines.
for(int i = 0; i < 7; i++)
{
//code here
//code here
}
You are never multiplying the total by the difficulty.