
Patrick B. answered 01/27/21
Tutor
4.7
(31)
Math and computer tutor/teacher
using namespace std;
#include <iostream>
int main()
{
int iNum;
cout << "Input the # :>";
cin >> iNum;
if ((iNum%5)==0)
{
cout << iNum << " is a multiple of 5" << endl;
}
else
{
cout << iNum << " is not a multiple of 5" << endl;
}
}