Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- using namespace std;
- int main()
- {
- int a;
- int b;
- int c;
- int bSUM;
- int acMULT;
- int abcSUM;
- cout << "Especifique a \n";
- cin >> a;
- cout << "Especifique b \n";
- cin >> b;
- cout << "Especifique c \n";
- cin >> c;
- bSUM = b * b;
- acMULT = -4 * a * c;
- abcSUM = bSUM + acMULT;
- cout << "Discriminante: " abcSUM;
- // Managed to accomplish this on 5 tutorials!
- // Consegui isso em 5 tutoriais!
- //Resultado 1
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement