Untitled
unknown
plain_text
a year ago
324 B
2
Indexable
Never
// random #include <iostream> using namespace std; int main() { srand(time(NULL)); int a; a = rand(); bool s = 0; int w; while (s == 0) { cin >> w; if (w < a) { cout << "+\n"; } if (w > a) { cout << "-\n"; } if (w == a) { cout << "!!!"; return 0; } } }