Odpowiedź :
#include <iostream>
using namespace std;
int main()
{
int a;
cout << "Podaj liczbe"<<endl;
cin >> a;
if (a % 3 == 0 && a % 7 == 0)
cout << "Liczba jest podzielna przez 3 i 7" << endl;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int a;
cout << "Podaj liczbe"<<endl;
cin >> a;
if (a % 3 == 0 && a % 7 == 0)
cout << "Liczba jest podzielna przez 3 i 7" << endl;
return 0;
}