i'll leave the "whys" for you to figure out!
set of all constant functions or, if you want the subring to have the identity element of then would be an example.
(b) Find a subring of which is not an ideal. Why?
fix an and define this is a principal ideal. why?
(c) Find an ideal of which is not the zero ring or . Can this ideal be written as a principal idea? Why?