Thursday, 21 July 2011

Program that reads in two integers and determines and prints if first is a multiple of second IN C++

Do you like this post?
#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<

No comments:

Post a Comment