Advertisement
BalKaneCcC

programm 1

Jan 27th, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. print("Введите значения сторон триугольника (a,b,c)")
  2. a = float(input())
  3. b = float(input())
  4. c = float(input())
  5. p = ((a+b+c)/2)
  6. x = (p*(p-a)*(p-b)*(p-c))
  7. import math
  8. y = math.sqrt(x)
  9. print(y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement