S&C Code for Senior Design