@ami_junki
After a lightning strike your mac and pc are not necessarily totally broken. Sometimes you could get 'lucky' and it's only the power supply which received the blow. You can only know by replacing it. A pc power supply doesn't necessarily have to cost a lot of money, especially if the pc is a bit older and doesn't require too much current from the power supply. About the mac, I can't really say because I have no experience but the same thing goes, a power supply replacement might give a solution.
I worked in a retail computer store for years which also repaired computers, and a lot of my customers were from areas in the 'country' where lightning strikes are a more common occurrence to damage household appliances including PCs, so I have seen and repaired a lot of cases. Sometimes it's only the power supply(struck into mains power), sometimes it's the network adapter or modem(struck into the phone line). Of course I also saw plenty of cases where practically everything was dead. In my opinion there is a chance to repair the pc by trying to replace the power supply. Of course, sometimes there can be some hidden damage which only turns out later on but that only happened rarely to my repairs.
Of course, it's up to you if you want to have a try because there always is a chance that simply everything is dead, I just want to point out it might not be a lost cause. :-)