Ancient Egyptians studied the stars to

a. predict the flooding of the Nile River.
b. appoint the next pharaoh.
c. create new medicines from plants.
d. create a new writing system.