To write 'cube', you can press the ' Alt ' key (to the left of your Space bar) + ' 252 ', then release the 'Alt' key. To make the symbol 'cubed' (example: 2 cubic meters: 2m³) To write 'squared', you can press the key located just below the Esc key (the key at the top left of your keyboard), otherwise you can also press the Alt key (to the left of your Space bar) + ' 253', then release the Alt key.
To make the symbol 'squared' (ex: 10 squared: 10²) You want to write numbers with powers (example: 10 to the power of 6 = 10 6 ) on your keyboard, in Word or in another word processing software ? To do so, it will depend on the power used: 1.