Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- string color1, color2, color3, color_push;
- std::cin >> color1 >> color2 >> color3 >> color_push;
- if (color_push == color1) {
- std::cout << "Enter the house 1";
- }
- else if (color_push == color2) {
- std::cout << "Enter the house 2";
- }
- else if (color_push == color3) {
- std::cout << "Enter the house 3";
- }
- else
- std::cout << "Seek somewhere else";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement