Re: c++ programming
Hi nyadimo,
This is very basic and simple and it looks like a homework signment.
I'd like to help you, but I shouldn't do your homework for you. ;-)
So I will give some hints, instead of the complete sourcecode to do it...
1.
x^y can be calculated with the function pow(x,y) (be sure to include <math.h>)
2.
This is very dependant on the libraries to your disposal.
If you use VC it's dependant on weather your program is a MFC appl with a doc/view structure, or a dialog or even a console...
You can only expect to get help on this subject if you specify this more precisely.
Hope this helps,
JB