#include <iostream>
using namespace std;
int ResztaZDzielenia(int a, int b)
{
return a % b;
}
int main ()
{
intliczba;
cout << "Podaj liczbe: "; cin >> liczba;
cout << "Reszta z dzielenia " << liczba;
cout << " przez 17 wynosi: ";
coit << ResztaZDzielenia(liczba,17) << endl;
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: