Coding Challenge - 7
Question: - Make a program for calculating the area of triangle ?
Code:  
base = int(input("Please enter the base"))
height = int(input("Please enter the height"))
area = 1/2 * base * height 
print(area) 
Watch This Video Lecture:
Best IIT - JEE Foundation Combi Pack
0 Comments