NOTE: There is a blank line after each separate case, excluding the last one.
Sample Input:
3 7 4 13
Sample Output:
Case #1: 7 is a Happy number. Case #2: 4 is an Unhappy number. Case #3: 13 is a Happy number.
Hidden content!#include <iostream>#include <cmath>using namespace std;//Elvis Suazo///Happy number :)int seen_numbers[100]={0};int flag=0;int j=0;///Determines if it's a happy happy numberint IsHappy(int x){