Program that reads in two integers and determines and prints if first is a multiple of second IN C++
#include
#include
#include
void main()
{
int j,k;
clrscr();
cout<<"Enter first number =";
cin>>j;
cout<<"Enter second number =";
cin>>k;
if((k%j==0))
cout<BlogThis!Share to FacebookShare to Pinterest
No comments:
Post a Comment