Quick actions

cmd+k|ctrl+k

Navigation

Languages

lab3(17)

Snippet info

Language

Cpp

Visibility

public

Author

andrusus.korotkovus

Created

2018-10-09T05:56:50Z

Updated

2018-10-09T05:56:50Z

#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