Program won't allow imput?

I probably have no idea what I'm doing, since I have not taken a look at booleans or if's, but I tried it anyways! It won't allow imput, it just says all the lines of code.

#include "stdafx.h"
#include <iostream>

int main()
using namespace std;
cout << "I am on my way to bo becoming a program! I need your help, though." << endl;
cout << "Please, do 3+4 for me! I need to get my math straight." << endl;
int Better;
int Worse;
if (Worse < Better)
cout << "Hey, that's right!" << endl;

else if (Worse > Better)
cout << "I don't think you're right. You broke me!" << endl;

return 0;

You stated "using namespace std" inside of main(). Put it before main, not inside of main. Also, this program has no instances where it requires input. There's no getlines, no cin >>'s, nothing. If you want it so that you can pick what better and worse are, then use:
int Better;
cin >> Better;
int Worse;
cin >> Worse;
Topic archived. No new replies allowed.