I don't much syntax- so would appreciate the help.

Say I have two variables:

Category (string) (Values can be a 1, 2, 3)

Cost (numeric)

I want to compute and create a new variable- Called "Calculation". In it.....

If Category is 3, then compute Cost + .2

If Category is 1 or 2, then compute Cost + .1

Thanks