Write the following functions that: a) Calculate simple interest. b) Calculate compound interest. Write an interactive C (main) program to provide the above functions as options to the user using switch statement and performs the functions accordingly.
Questions › Write the following functions that: a) Calculate simple interest. b) Calculate compound interest. Write an interactive C (main) program to provide the above functions as options to the user using switch statement and performs the functions accordingly.