1. If it snows tomorrow, I will rest.

2. If you run every day, you are very strong.
(Are both grammatical?)

Yes.