Write an expression | Computer Science homework help