You are on page 1of 1

Superal

#include<iostream>
using namespace std;
int main() {

int age;
int height;
int monthofbirthday;
string placeofbirth;
string myfavoratecolor;

cout << "Hi there can you guess my age" << endl;
cin >> age;
if (age == 20) {
cout << "you got it right" << endl;
}
else {
cout << "you got it wrong" << endl;
}

cout << "How about the month of my birthday" << endl;


cin >> monthofbirthday;
if (monthofbirthday == 2) {
cout << "you got it right" << endl;
}
else {
cout << "you got it wrong" << endl;
}

cout << "How about my place of birth" << endl;


cin >> placeofbirth;
if ("manila") {
cout << "you got it right\n";
}
else {
cout << "you got it wrong" << endl;
}

cout << "How about my favorate color" << endl;


cin >> myfavoratecolor;
if ("black") {
cout << "you got it right\n";
}
else {
cout << "you got it wrong" << endl;
}

return 0;
}

You might also like