FOLLOW THIS QUESTION TO RECEIVE UPDATES
I'm not quite sure there is an average cost for bootcamps and code schools. It depends on quite a few things, the length of the program, the curriculum, time commitment, location, popularity/success of the program. There are some programs that require a fee up front, some that provide you with a living stipend, some that have deferred tuition and others that are free.
I attended a school in SF, Holberton, that took the defered tution model, making it much more accessale to studetns that maybe had not had access to this type of quality education before.
The average cost of a bootcamp falls between 10-20,000 USD. But it is important not to rely on cost alone when selecting a bootcamp. Research the curriculum, school reviews, length of the course, and especially the job potential for the language/skills you will be learning.
Also, be sure to "get your feet wet" with all the online resources available. Coding is awesome, but make sure that it is something you are really passionate about before you attend a bootcamp. Hope this helps!