He gave a tip of 30*.3=$<<30*.3=9>>9
So in total he paid 30+9=$<<30+9=39>>39
#### 39