Search
Left Quote    I have not failed. I've just found 10,000 ways that won't work.
- Thomas Alva Edison    
Right Quote
 
[login] | [Register]
 

Function for Area + Perimeter

by: bs0d
 

Description:


This code sample show you how you can make a function to calculate the area and the perimeter of a rectangle. Using functions cuts down on the amount of coding, which allows your programs to execute faster.

Code:


 


No Comments for this page.

You Must be signed in or a member to comment.


Code Stats

Code Stats

15,094 Views
0 Total Comments
0 Rating of 5 (1 Votes)

Options

Code Options

· Login to Rate This Code
· Login to Post a Comment
· Read more by this author
Digg This Code! Del.icio.us: Bookmark This Code Reddit: Bookmark This Code! BlinkList: Blink This Code! YahooMyWeb BlogMarks: Add This Mark! Furl: Save This Code Spurl: Mark This Code!

Code Samples

Related    

· Typeof Function
· Array Example
· ParseInt(): Strings to Numbers
· Learning Variables
· Simple Arithmetic Operators
· Function for Exponents





"AllSyntax.com" Copyright © 2002-2017; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank