fix happy number code and documetnation

This commit is contained in:
Krishna Vedala
2020-05-28 16:43:03 -04:00
parent 9ef8100a52
commit 2683b9d6ed

View File

@@ -1,7 +1,7 @@
/**
* A [happy number](https://en.wikipedia.org/wiki/Happy_number) is a decimal
* number whose sum of digits is calculated until the sum is a single digit, and
* this sum turns out to be 1.
* @file
* @brief A happy number is a number whose sum of digits is calculated until the
* sum is a single digit, and this sum turns out to be 1
*/
#include <iostream>