Advertisement
Josif_tepe

Untitled

May 22nd, 2024
551
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     int a = 14;
  7.     int b = 6;
  8.     if(a > b)
  9.     {
  10.         cout << "a%b" << endl;
  11.         cout << a%b << endl;
  12.     }
  13.     else
  14.     {
  15.         cout << "a/b=" << endl;
  16.         cout << a/b << endl;
  17.     }
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement