knocking in engine,still runs,temperture light on at times on 1990 Buick LeSabre

what cheaper,repair engine or replace?

Asked by for the 1990 Buick LeSabre
when you try to repair, the costs go up fast when it is opened up. it would be better to replace. you know what the cost will be up front.