You can't print '$' using function 9, because '$' has to be the string terminator, but you can first print "The total charge is ", then use function 2 to print a single character:
mov ah, 2
mov dl, '$'
int 21h
and then print the "00". It's inconvenient, but probably the simplest way to do it in DOS.