Quick actions

cmd+k|ctrl+k

Navigation

Languages

bikhnevich lab3(17)

Snippet info

Language

Cpp

Visibility

public

Author

bikhnevichk

Created

2018-10-01T20:47:35Z

Updated

2018-10-01T20:47:35Z

#include<iostream>
#include<cmath>

using namespace std;

int main()
{

	int digit;

	cout << "enter an integer" << endl;
	cin >> digit;

	if (digit % 3 == 0)
	{
		cout << "divide";
	}
	else
	{
		cout << " do not divide";
	}
	
}
INFO