#include <iostream>
int main() {
int num1, num2, num3;
std::cout << "Ingrese el primer número: ";
std::cin >> num1;
std::cout << "Ingrese el segundo número: ";
std::cin >> num2;
std::cout << "Ingrese el tercer número: ";
std::cin >> num3;
std::cout << "El promedio es: " << (num1 + num2 + num3) / 3.0 << std::endl;
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: