Assignment_9 - The perimeter of a polygon with sides 10 5...

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

View Full Document Right Arrow Icon
Assignment 9: Write a program which declares variables for the sides of a 4-sided polygon s1, s2, s3, and s4. Set the values to 10, 5, 7.5 and 8.3. Calculate the perimeter of the polygon. The output should look like the following:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: The perimeter of a polygon with sides 10, 5, 7.5 and 8.3 is Followed by the answer. The exact spacing of the line breaks is not critical to the solution of this problem....
View Full Document

Ask a homework question - tutors are online