Set some changes to pass Awesome CI Workflow

This commit is contained in:
amino19 2021-05-26 10:48:31 +05:30
parent 8ec7cefa31
commit 4fb644bd3d

View File

@ -26,11 +26,13 @@ int main() {
/* Initialize 'n' & 'count' by 0 */
int n = 0;
int count = 0;
/* 'cout' to ask input from user..
* 'cin' to taking integer as input..
*/
std::cout << "Enter an integer: ";
std::cin >> n;
/* iterate until n becomes 0
* remove last digit from n in each iteration
* increase count by 1 in each iteration */
@ -42,5 +44,6 @@ int main() {
*/
++count;
}
std::cout << "Number of digits: " << count;
}