Write routines to implement two stacks using only one array. Your stack routinesshould not declare an overflow unless every slot in the array is used.
August 22, 2016 Ch. 1 Matter, Measurements, and Problem Solving Atoms o Submicroscopic particles o Fundamental building blocks of ordinary matter Molecules o Two or more atoms attached together in specific geometrical arrangement Attachments are called bonds Attachments (bonds) come in different strengths o Come in different shapes and patterns o Shape depends on bond angles Chemistry: science that seeks to understand behavior of matter by studying behavior of atoms and molecules Matter: occupies space, has mass o Classified based on state and composition MATTER Ye No Variable composition Pure Substance Noixture Ye Ye Separable into simpler substances No Uniform throughout Element Compound Heterogeneous Homogenous Helium pure water wet sand tea w/ sugar Oxygen atom = O ≠ O =2Oxygen gas (element) *can’t take apart O to2make it O, not stable enough CO2= Carbon Dioxide: O=C=O (compound) Properties of Matter Physical: characteristic of matter that can be changed w/o changing composition o Characteristics are directly observable Mass/weight/vol