Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<iomanip>
- using namespace std;
- int main()
- {
- float a;
- float b;
- float c;
- cout << "Unesi prvi broj" <<endl;
- cin >> a;
- cout << "Unesi drugi broj"<<endl;
- cin >> b;
- c = (int)a % (int)b;
- cout << "Rezultat" << setprecision(11) << (double)c <<endl;
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement