Untitled
unknown
plain_text
2 years ago
193 B
8
Indexable
#include <iostream>
using namespace std;
int main() {
float a, b, c;
cin >> a >> b >> c;
float d = b * b - 4 * a * c;
if (d == 0) cout << 1;
else if (d > 0) cout << 2;
else cout << 0;
}Editor is loading...