#include #include void main(){ int cout=0; char c; printf("Input String:"); scanf("%c", &c); while (c != '#') { if (c <= '9' && c >= '0') { cout++; } scanf("%c", &c); } printf("\nIn total: %d", cout); getch();}