Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- float a,b,x;
- cin>>a;
- cin>>b;
- x=-b/a;
- if(a>0 && b>0)
- cout<<"Ima edno resenie";
- if(a==0 && b==0)
- cout<<"Beskonecno mnogu resenija";
- if(a==0)
- cout<<"Nema resenie";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement