|
@ -174,7 +174,15 @@ void displayMenu() { |
|
|
printf("9. Square Root\n"); |
|
|
printf("9. Square Root\n"); |
|
|
printf("10. Square\n"); |
|
|
printf("10. Square\n"); |
|
|
printf("11. Cube\n"); |
|
|
printf("11. Cube\n"); |
|
|
|
|
|
|
|
|
|
|
|
printf("12. Cube Root\n"); |
|
|
|
|
|
printf("13. Factorial\n"); |
|
|
|
|
|
printf("14. Power\n"); |
|
|
|
|
|
printf("15. Sine\n"); |
|
|
|
|
|
printf("16. Cosine\n"); |
|
|
|
|
|
printf("17. Tangent\n"); |
|
|
|
|
|
printf("18. Permutation\n"); |
|
|
|
|
|
printf("19. Combination\n"); |
|
|
|
|
|
printf("20. Exit\n"); |
|
|
} |
|
|
} |
|
|
int add(int num1, int num2) { |
|
|
int add(int num1, int num2) { |
|
|
return num1 + num2; |
|
|
return num1 + num2; |
|
|