Calculating S V P

Report a typo

Ask the user about parameters of a rectangular parallelepiped (3 integers representing the length, width, and height) and print the sum of edge lengths, its total surface area, and the volume, one answer per line.

Sum of lengths of all edges:

s=4(a+b+c)s = 4(a + b + c)

Surface area:

S=2(ab+bc+ac)S = 2(ab + bc + ac)

Volume:

V=abcV = abc

Sample Input 1:

5
10
15

Sample Output 1:

120
550
750
Write a program in Python 3
a = int(input())
b = int(input())
c = int(input())

# put your python code here
___

Create a free account to access the full topic