help some help

Y

yongbin999

use "while","do-while" and "for" loop write 3 programs to calculate
the power of two integers. Not allow to use power math function. two
integers are read from input. program must produce an error message
when the user enter a negative number. output show both input integers
and the result
 
I

Ian Collins

use "while","do-while" and "for" loop write 3 programs to calculate
the power of two integers. Not allow to use power math function. two
integers are read from input. program must produce an error message
when the user enter a negative number. output show both input integers
and the result
How much are you offering?
 
D

David Harmon

On 28 Feb 2007 22:07:40 -0800 in comp.lang.c++, (e-mail address removed)
wrote,
use "while","do-while" and "for" loop write 3 programs to calculate
the power of two integers. Not allow to use power math function. two
integers are read from input. program must produce an error message
when the user enter a negative number. output show both input integers
and the result

Where is your attempted code?
What is your specific question?

This issue is covered in Marshall Cline's C++ FAQ. See the topic
"[5.2] How do I get other people to do my homework problem for me?" It
is always good to check the FAQ before posting. You can get the FAQ at:
http://www.parashift.com/c++-faq-lite/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top