area, perimetro circulo soporte

public class circulos { int radio; circulos() { } circulos(int r) { radio=r; } double calc_area() { double area; area=(radio*radio)*3.1415927; return area; } double calc_perimetro() { double perimetro; perimetro=(2*radio)*3.1415927; return perimetro; } void set_radio(int r) { radio=r; } }

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.