CETIS 109RUTH ROSAS
4°”BM” PROGRAMACION
DESARROLLA APLICACIONES
MOVILES“AREA DE UN CUADRADO”
Agregamos un Text View a nuestro Programa
Y en Text agregamos “Lado”
Posteriormente agregamos un
TextView
Y en Id agregamos”@+id/lado”
Agregamos un Button a un nuestro
Programa
Y en On Click agregamos ”Calcular”
Posteriormente agregamos un TextView a
nuestro programa
Y en Text agregamos “Area”
Agregamos un Text
Y modificamos el id agregando
“@+id/resultado”
Y en Hint ponemos “Resulatdo”
Y por ultimo agregamos lo siguiente a nuestra codificación para poder correr
nuestro programa sin ningún problema
Y asi es como nos queda nuestro propgrama
Aprendí a crear un programa que facilita calcular el área de un
cuadrado
Comentario: