Instructions
Objective
Write a program to implement vectors and arrays in python.
Requirements and Specifications
Source Code
# Your name
import math
# Print an intro
print("Welcome to the ramp calculator.")
# Get the width and height
height = float(input("Enter the height: "))
width = float(input("Enter the width: "))
# Calculate the ramp's length (hypotenuse)
hypotenuse = math.sqrt(math.pow(width, 2) + math.pow(height, 2))
print("The calculated ramp length is " + str(hypotenuse))