#include #include #include int main() { long themang, n; int sochuso; float S = 0; { printf("\nNhap n: "); scanf("%ld", &n); }while(n < && printf("\nLoi: n >= !")); sochuso = 0; themang = n; while(themang != 0) { if(themang % == 0) { S = S + themang % 10; } themang = themang / 10; } printf("\nTong cac chu so chan cua %ld la %f", n, S); getch(); return 0; }