Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
"a" to the power of "b"
Old
SammeStar
Junior Member
 
Status: Offline
Posts: 2
Join Date: Nov 2011
Default "a" to the power of "b" - 11-28-2011, 02:12 AM

Hello,
I have to write a program using recursion so that a robot will tell me the value of "a" raised to the power of "b".

No matter what I do, the program stops and says it has an error when I get to the answer part.

Can anyone help me with the formula?
Attached Files
File Type: a2w Power Robot.a2w (1.41 MB, 10 views)
   
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.