如何编写这个函数?
Write a program that does the following:
Displays your name on the screen
Calls a function
- to ask for 2 numbers and
- a character input to say whether they want to add or multiply the 2 numbers
- a Switch to determine which function to execute
- do the add
Or
- do the multiply
Back in main a printf that will show the values of both numbers, the action taken (+ or *) and the result.
不求程序,只求思路。