JAVA

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

JAVA

Post by answerhappygod »

JAVA
Java 1
Java 1 (22.94 KiB) Viewed 26 times
Exponents are a way of writing that a value is to be multiplied by itself a number of times. For example, 31 = 3, 32 = 3 *3,33 = 3 *3 *3, 34 = 3 *3*3*3, etc. Write a recursive method that computes the mth power of y(i.e. ym), that is based on multiplication. Assume m is a non-negative integer. (2 marks)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply