Commit 5e871563 by BellCodeEditor

auto save

parent 6d88eca4
Showing with 14 additions and 0 deletions
# 三角形三条边分别为a,b,c,其中a=3,b=4,c=5,请分别求出该三角形的面积S和周长C(此三角形为直角三角形)。
a=3
b=4
c=5
S=a*b/2
C=a+b+c
print("面积S:",S)
print("周长C:",C)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment