daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Aug 15th, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int A, B;
  8.     while (true){
  9.         cout<<"Adj meg ket szamot!\n";
  10.         cin >> A >> B;
  11.         cout << "A: \t" << A << "\n";
  12.         cout << "B: \t" << B << "\n";
  13.         cout << "Maradekuk: \t" << A % B << "\n";
  14.        
  15.         if ( A % B > 0){
  16.             cout << "Nem oszthatC3. \n";
  17.         }else{
  18.             cout << "OszthatC3.\n";
  19.         }
  20.     }
  21.     return 0;
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top