Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ifstream quadratic("quadratic.txt");
- float coefficient_a, coefficient_b, coefficient_c;
- while(quadratic >> coefficient_a >> coefficient_b >> coefficient_c);
- {
- cout << coefficient_a << " " << coefficient_b << " " << coefficient_c << endl;
- }
- //1 1 1
- //1.2 -2.3 0.4
- //-2 -3 -4
- //+0 -2 8.85
- //2.345
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement