Closed jkloosterman closed 2 years ago
int main() { double d; if (cin >> d) { // type in 2 cout << "success" << endl; } else { cout << "failed" << endl; // prints } }