hello,everyone!
how to write a program to achieve the following function:
The value of x is assigned at the beginning of the program.
And the following lines are printed on the screen
1.Output the Opposite Number
2.Output the Square Root Number
3.Output the square
4.Exit
If you press 1 the opposite number of x is printed and if you press 2 the square root number of x is printed and so on,if you press 4 the program exit.
hey,mutexe!i looked at the link but i don't catch anything ,it's because i'm new in c programming ,if u got the answer of the problem,please write it here!
Thank you very much.