areaoftriangle

areaoftriangle - h = input'What is the value for height...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% This program will calculate the Area of a Triangle. % Prompt the user to enter the value for base. b = input('What is the value for base') % Prompt the user to enter a value for height.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: h = input('What is the value for height') % Find the Area of the triangle. Area = (1/2)*b*h...
View Full Document

This note was uploaded on 06/17/2011 for the course COMP 1200 taught by Professor Staff during the Spring '11 term at Kennesaw.

Ask a homework question - tutors are online