daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Nov 18th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.     int 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. }
RAW Paste Data
Top