The cell phone plan cost $39.99 per month plus $0.17 for each text message you send or receive. The maximum amount you have to spend is $47.
let
the number of text message you send or receive = x
Therefore,
The maximum number of text message he can send or receive is approximately 41 .