Respuesta :

Answer:

There would be a logic error.

Explanation:

The count for x should have been initialized before addint it to the variable total.