From: "Drake matthews" Newsgroups: comp.os.msdos.djgpp Subject: exponment Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Sun, 04 Feb 2001 19:37:07 GMT NNTP-Posting-Host: 142.177.232.63 X-Complaints-To: abuse AT mpoweredpc DOT net X-Trace: sapphire.mtt.net 981315427 142.177.232.63 (Sun, 04 Feb 2001 15:37:07 AST) NNTP-Posting-Date: Sun, 04 Feb 2001 15:37:07 AST Organization: MPowered-Subscriber To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com #include #include int main() { clrscr (); int intpow; int x, int y; cout << "This program will compute any base value raised to an exponent value" << endl; cout << "Enter a base value:" << endl; cin >> x; cout >> "Enter an exponment value:" << endl; cin >> y; intpow=exp((log(y)*x); { if (y == 0) return 1; return x * intpow (x, y - 1); } I'm have trouble writing this program could someone help me.