next up previous
Next: About this document

centering17

Using the vi editor, write a C program on the Sun cluster that allows the user to choose from a menu of mathematical functions. Some of these functions will be standard C functions (see appendix B of the text), and some you will need to write yourself. After making a selection, the user should be prompted for whatever input is appropriate. Your program should then compute and display the appropriate result. This result should also be returned and stored in a variable, as one of the menu options should be to redisplay the result of the previous computation.




next up previous
Next: About this document

Tim Wahls
Thu Feb 13 13:40:17 EST 1997