lab3(17)
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int x;
cout << "enter an integer" << endl;
cin >> x;
if (x % 3 == 0)
{
cout << "divide";
}
else
{
cout << " do not divide";
}
}INFO
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int x;
cout << "enter an integer" << endl;
cin >> x;
if (x % 3 == 0)
{
cout << "divide";
}
else
{
cout << " do not divide";
}
}