Is this a laptop? Desktop? In either case have you tried another keyboard to confirm it is the hardware?
A cheap 104 keyboard can be had for as little as $10. A replacement part for a laptop shouldn't be too bad either. If you are comfortable installing such a thing, otherwise take it to your nearest repair shop. Probably cost at least $50 plus parts, but only you can say if that is worth it.