top of page

CÓDIGO EN C++

#include<iostream>
using namespace std;
int main()
{
    int numero, dato =5;
    cout<<"Digite un numero: " ;
    cin>>numero;
     if (numero == dato) {
    
         cout<<"El numero es 5";
     }
     else{
         cout<<"El numero es diferente a 5";
     }
     
     return 0;
}

bottom of page