Code for calculating Breakeven for opton strategy

hello all,

how can i code for options breakeven at expiry …

any formula is there ?

thanx
suhashegde