So I know about the fact that Japanese doesn't have a literal equivalent to the third conditional of english.
But to say:
If I had eaten ice cream, my stomach would have hurt.
Can I say it in japanese as:
もしアイスクリームを食べたら、お腹が痛くなったでしょう。
And can I say "If I had come to Japan, I would have stayed in a hotel" as
もし日本へ行ったら、ホテルに泊まりましたでしょう。