Student or Learner
Can you tell me if the following sentences are correct?
1)If I had won the lottery I was going to buy a new house.
2) If you had studied hard you could have passed the exam.
Yes, they are both grammatically correct but you need to add a comma after the "if" clause in both. With 1), you will also hear "If I had won the lottery, I would have bought a new house". With 2), I would find "studied harder" more likely but if you know the person definitely did not study hard to any degree, then you can use yours.
Remember - if you don't use correct capitalisation, punctuation and spacing, anything you write will be incorrect.