What about square root or exponents? In math.h there is a sqrt() function for getting the square root and you can use a loop to do exponents.I feel i have done everything to it, that i can do in its current state.
main() returns an integer.Code:main()You should use floats or doubles to do division. Otherwise the user cant get decimals.Code:int main(void)