#include <iostream>
using namespace std;
int main()
{
int puppies, kitties;
cout<<"Enter the number of puppies: ";
cin>>puppies;
cout<<"Enter the number of kitties: ";
cin>>kitties;
if(puppies <= 1)
cout<<"You have adopted "<<puppies<<" puppy ";
else
cout<<"You have adopted "<<puppies<<" puppies ";
if(kitties <= 1)
cout<<"and "<<kitties<<" kitty";
else
cout<<"and "<<kitties<<" kitties";
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int puppies, kitties;
cout<<"Enter the number of puppies: ";
cin>>puppies;
cout<<"Enter the number of kitties: ";
cin>>kitties;
if(puppies <= 1)
cout<<"You have adopted "<<puppies<<" puppy ";
else
cout<<"You have adopted "<<puppies<<" puppies ";
if(kitties <= 1)
cout<<"and "<<kitties<<" kitty";
else
cout<<"and "<<kitties<<" kitties";
return 0;
}