Computer keeps rebooting
Hi, my one day a friend of mines brought his computer for me to fix, so I had to remove my all my cord from my computer to use his, after unplugging the cord I mistakenly forgot to turn off the switch on the back of the power supply and unplugged the power cord. After finishing using my friends computer and plugged my cords back into my computer, I noticed my computer kept rebooting for half a second then turns off. Then it keeps looping. I thought it would be my power supply, so I bought a new one and replaced it. Happy to finally replace my power supply and turning it on, it does the same thing again. Now I'm confused on what could cause the problem or I did something wrong. My guess is leaning towards the motherboard. Any suggestions?