Driver Code
let n = 3 ; document . write ( n + " " ) ; document . write ( centered_cube ( n ) ) ; document . write ( " " ) ; n = 10 ; document . write ( n + " " ) ; document . write ( centered_cube ( n ) ) ;