soporte cuadrado area perimetro

public class cuadrados { int lado; cuadrados() { } cuadrados(int l) { lado=l; } int calc_area() { int area; area=lado*lado; return area; } int calc_perimetro() { int perimetro; perimetro=4*lado; return perimetro; } void set_lado(int l) { lado =l; } }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.