Code-:
#include<iostream>
using namespace std;
void main()
{
int number=0,number2=0;
cout<<"Enter Number 1 and Number 2 = ";
cin>>number>>number2;
if(number%number2==0)
{
cout<<"This is evenly divisible by the Second"<<endl;
}
else
cout<<"This is not evenly divisble by the second"<<endl;
system("pause");
}
Output-:
0 Questions:
Post a Comment