Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Quiz
2. Question 1
Summary

Instruction

Let’s start with something easy.

Exercise

Write a program that asks the user for a string...

Please provide a string: {string}

...and prints the number of digits in this string on a new line.

Stuck? Here's a hint!

Use the isdigit() function on each character in the string.