Duoas is engaged

Pages: 12
Thank you! I love her so much!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <iostream>
using namespace std;
int main()
{
    string OMG;
    cout << "Did she say \"Yes\"?";
    cin >> OMG;
    if (OMG == "yes")
    {
        for (int i=1;i>0;i++)
        {
            if (i%20==1)
            {
                cout << endl << endl << "Congratulations ";
            }
            cout << "=] " ;
        }
    }
cin.get();
}
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
using namespace std;

int main()
{
string wow[2] = {"lations", "Congratu"};
for(int i = 0; i < 2; i++)
{
cout << (i? wow[0] : wow[1]);
}
cin.ignore(numeric_limits<streamsize>::max(), '\n');
}
Last edited on
Thank you!

Just so you all know, I've been compiling and executing every one of your programs.

My fiancée is impressed with the all responses here.

:-)
Topic archived. No new replies allowed.
Pages: 12