Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int y = 0, a = 0, b = 0, c = 0, x = 0;
- cout << "Unesite redom varijable x, a, b , c: ";
- cin >> x >> a >> b >> c;
- y = a * x * x + b * x + c;
- cout << "Y = " << y << endl;
- system("pause>0");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement