Microsoft founder Bill Gates and his wife and fellow philanthropist Melinda announced that they are divorcing after a 27-year marriage.