daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<iostream>
  2. #include<iomanip>
  3. using namespace std;
  4. int main()
  5. {
  6.     float a;
  7.     float b;
  8.      float c;
  9.     cout << "Unesi prvi broj" <<endl;
  10.     cin >> a;
  11.     cout << "Unesi drugi broj"<<endl;
  12.     cin >> b;
  13.     c = (int)a % (int)b;
  14.     cout << "Rezultat" << setprecision(11) << (double)c <<endl;
  15.     system("pause");
  16.     return 0;
  17.    
  18. }
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