TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ahmed sami
NA
64
200.4k
Write a method IntegerPower( base, exponent )
Dec 10 2012 5:17 PM
Write a method IntegerPower( base, exponent ) that returns the value of base^exponent ..
For example, IntegerPower( 3, 4 ) = 3 * 3 * 3 * 3. Assume that exponent is a positive, nonzero integer, and base is an integer. Method IntegerPower should use for or while to control the calculation. Do not use any Math library methods. Incorporate this method into a Win- dows application that reads integer values from TextBoxes for base and exponent from the user and performs the calculation with the IntegerPower method.
Reply
Answers (
1
)
What is the value of x
Write an application that simulates coin tossing