Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main(){
- int valor1 = 1, valor2 = 1, valor3 = 5, valor4 = 20;
- if((valor1 == valor2) || (valor3 == valor4)){
- std::cout<<"Al menos dos de los valores son iguales."<<std::endl;
- } else {
- std::cout<<"Los valores son distintos."<<std::endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement