by CodeChum Admin
Now this one's a tad bit tricky, but you can definitely do it!
Instructions:
- Input five integers in one line, with each integer separated by a space.
- Add the 1st and 2nd integers together, store the sum inside a variable.
- Add the 3rd and 4th integers together, store the sum inside a variable.
- Multiply the two sums with each other and raise the product to the power of the 5th integer
- Print out the result.
Instructions
- Input five integers in one line, with each integer separated by a space.
- Add the 1st and 2nd integers together, store the sum inside a variable.
- Add the 3rd and 4th integers together, store the sum inside a variable.
- Multiply the two sums with each other and raise the product to the power of the 5th integer
- Print out the result.
Input
A line containing five integers separated by a space.
1·2·3·4·5
Output
A line containing an integer.
4084101
Comments
Leave a comment