Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Atur cara mengira luas permukaan dan isipadu sebuah trapezium
#atur cara mengira luas permukaan sebuah trapezium #Farhana Idayu binti Madlan #3 Alpha #09 Mei 2019 #Tajuk tugasan mengira luas permukaan sebuah trapezium # Pengisytiharan pemboleh ubah dan pemalar # Input a = float(input("\nMasukkan a:")) b = float(input("\nMasukkan b:")) h = float(input("\nMasukkan h:")) t = float(input("\nMasukkan t:")) # Proses luas = 1/2*(a + b) * h isipadu = 1/2*(a + b) * h * t # Output print("\n\nLuas permukaan sebuah trapezium ialah", luas, "cm") print("\n\nIsipadu sebuah trapezium ialah", isipadu, "cm")
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Converion of dictionary to list of tuples (Stackoverflow problem)
print path module python
lambda list map
NamedObject 3
lhp-1
LinkedList implementation
shuru11
montecarlo
replace
Test
stackse - search stackoverflow differently
Please log in to post a comment.