with PC, one symptom can be caused by a ton of issues.
Straight up no power after working fine? Likely the power supply
switch it out with a known working one, if it comes on and works correctly, order you a cheap power supply and call it good. You can get a power supply that will last several years in the 25ish dollar range. If you want a nice one, plan on spending 60-80. In your case, some pre-built dell? Go with the cheapy :P
Be a ton cheaper than taking it in.
If you where local I would do it for you