#include <stdio.h>
using namespace std;
int main() {
float ancho, alto, area;// variables locales
printf("Introduce el ancho: ");
scanf("%f", &ancho);
printf("Introduce el alto: ");
scanf("%f", &alto);
area = ancho * alto;
printf("El area del rectangulo es : %f\n", area);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpIHsKCWZsb2F0IGFuY2hvLCBhbHRvLCBhcmVhOy8vIHZhcmlhYmxlcyBsb2NhbGVzCiAgICBwcmludGYoIkludHJvZHVjZSBlbCBhbmNobzogIik7CiAgICBzY2FuZigiJWYiLCAmYW5jaG8pOwogICAgcHJpbnRmKCJJbnRyb2R1Y2UgZWwgYWx0bzogIik7CiAgICBzY2FuZigiJWYiLCAmYWx0byk7CiAgICBhcmVhID0gYW5jaG8gKiBhbHRvOwogICAgcHJpbnRmKCJFbCBhcmVhIGRlbCByZWN0YW5ndWxvIGVzIDogJWZcbiIsIGFyZWEpOwoJcmV0dXJuIDA7Cn0=