how to write power of something ? unable to multiply it with power.
You can use the inbuilt pow function. Refer this https://www.geeksforgeeks.org/power-function-cc/