#include <iostream>
using namespace std;

int main() {
    int base = 10, altura = 4;
    int area = base * altura;
    cout << "El área del rectángulo en base " << base << " y altura " << altura << " es: " << area << endl;
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: