Advertisement
Rofyda_Elghadban1

Untitled

Dec 3rd, 2021
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #include <iostream>
  2. #include <iomanip>
  3. #include <cmath>
  4. #include <algorithm>
  5.  
  6. using namespace std;
  7. void Rofyda_Elghadban(){
  8. #ifndef ONLINE_JUDGE
  9. freopen("input.txt", "r", stdin), freopen("output.txt", "w", stdout);
  10. #endif
  11. }
  12.  
  13. int main()
  14. { Rofyda_Elghadban();
  15. bool f1,s1,f2,s2;
  16. cin>>f1>>s1>>f2>>s2;
  17. if(s1=s2){
  18. cout<<"ARE Brothers"<<"\n";
  19. }
  20. else{
  21. cout<<"NOT"<<"\n";
  22. }
  23. return 0;
  24. }
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement