David had d dollar. After a shopping trip,he returned with c cents. How many cents did he spend?

100d-c