What if we didn't have calculators in this world???

Instead we had minimal CPU, RAM, HDD, Motherboard, Power Supply, Operating System and a C compiler

Cube of a number

How would you calculate cube of a number?

Square of a number

How would you calculate square of a number?

Nth-prime number

How would you find the nth prime number?

Fourth power of a number

How would you calculate fourth power of a number?

Fifth power of a number

How would you calculate fifth power of a number?

a ^ b

How would you calculate a to the power of b?