# Addition of two cubes

Calculate the sum of cube for two given number. It will show the cube of both given number as n

_{1}

^{3 }and n

_{2}

^{3 }and then sum of both cube.

Addition of two cubes : | |

Enter the first number: | |

Enter the Second number : | |

Cube of first number (n_{1}^{3 }) : | |

Cube of second number (n_{2}^{3 }): | |

Sum of 2 cubes : |

let's understand the method to calculate the sum of two cubes for given values as follows:

for example we input these value 3 and 5 it means we wants the sum of 3

^{3}and 5

^{3}

= 3x3x3 + 5x5x5

= 27 + 125

= 152