i need to replace the power cord to my compaq presario sr1020nx desktop please tell me what I need to get
Usually a standard 3 pin female -- known in UK as a kettle lead. If in doubt take the old lead to a retailer and ask for an identical replacement.