Idempotent elements in a ring

Let R be a commutative ring with 1 and suppose e∈R is idempotent, i.e., satisfies e2=e.
(a) Prove that 1−e is also idempotent.
(b) Suppose e≠0,1. Show that Re and R(1−e) are proper ideals of R.
(c) Prove there is an isomorphism R≅Re×R(1−e).