#include <iostream>
int main() {
int largo, ancho;
std::cout << "Ingrese el
largo del rectángulo: ";
std::cin >> largo;
std::cout << "Ingrese el
ancho del rectángulo: ";
std::cin >> ancho;
std::cout << "El área es:
<< largo * ancho << std::endl; return 0;
To embed this project on your website, copy the following code and paste it into your website's HTML: