please help

undefinedundefinedundefined
[tag]
i've been trying to write a program which allows the user to choose the math function for an equation but i don't know how to define it in the program or anything, i've got a simple version here but it doesn't work- could anyone give me any advice cheers
[\tag]
[code]
#include <iostream.h>
#include <math.h>
#include <iomanip>

Well, it's the same thing; have an option for 'sin' (option #4 or something), and in your switch block, do 'sin'. The functions you're looking for are, sin(x) etc. and pow(x,2), which are defined in <cmath>.

Just out of curiosity though, what are [tag] and [/tag] supposed to be? lol