The only problem I can see in your first code is the while statement. It would read something like this
while (sum != 7 && sum != 11)
Other than that it looks like you're doing pretty...
Type: Posts; User: Parranoia
The only problem I can see in your first code is the while statement. It would read something like this
while (sum != 7 && sum != 11)
Other than that it looks like you're doing pretty...