Advertisement
Guest User

Untitled

a guest
Nov 18th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. float a,b,x;
  6. cin>>a;
  7. cin>>b;
  8. x=-b/a;
  9. if(a>0 && b>0)
  10. cout<<"Ima edno resenie";
  11. if(a==0 && b==0)
  12. cout<<"Beskonecno mnogu resenija";
  13. if(a==0)
  14. cout<<"Nema resenie";
  15.  
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement