How are you trying to delete avast ?
It should be able to be removed in the normal control panel - Add Remove Programs or Programs & Features, like any normal program. Have you tried that, if so what happened ?
Why won't it allow you to do it, e.g. what error messages are displayed ?