Circulos.java 398 Bytes
Newer Older
willgonzz committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

public class Circulos implements FormasInterface{
    float radio;
    String color;
    final static float pi=3.14f;
    public void Circulo(float radio, String color){
        this.radio=radio;
        this.color=color;
    }
    public boolean cartelesCirculos(String texto){
        if(texto.length()>=radio){
            return true;
        }else{
            return false;
        }
    }
}