can you compound quarterly if there are only 90 days that you have the money in for?
yes
is there any profits?
It really depends on the whole question but yes it is possible.
Also there are two ways to talk about compounding periods.
Nominal and Effective.
Anyway ... if you want more info you probably need to give the scenario or question in full.