Untitled
unknown
c_cpp
24 days ago
298 B
0
Indexable
Never
#include <iostream> using namespace std; int main() { float x; cin >> x; float y; cin >> y; float c; cin >> c; float result; float d; d = y * y - 4 * x * c; if (d > 0)cout << '2'; else if (d == 0)cout << '1'; else cout << '0'; }