Practice · 1 of 4
Cube Function
CHALLENGE
Difficulty: beginner+25 XP
Implement long cube(int n) returning n cubed.
Press Submit to check your solution.
Back to lesson: Practice: Function Basics
Practice · 1 of 4
Implement long cube(int n) returning n cubed.
Back to lesson: Practice: Function Basics