// con1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include using namespace std; int main() { int a; cout << "Can I eat my jellybean now? (0=no, 1=yes)"; cin >> a; while (a == 0) { cout << "Can I eat my jellybean now? (0=no, 1=yes)"; cin >> a; } cout << "yummy!" << endl; return 0; }