depends upon the flash gun, flash gun prices ranges from 2k to several thousands. but i am assuming its a manual flash, and at 43-45k you can get a d5100 with complete accessories minus the flashgun. So I think its expensive
and about d3100 vs d5000 both i think are equal, both have their own upsides and downfalls, depends on you which you find attractive