cyfrowa liczba sum w c
#include <stdio.h>
int main() {
int number;
int sum=0,reminder;
printf("enter the number:");
scanf("%d",&number);
while (number>0){
rem=number%10;
sum=sum+rem;
number = number/10;
}
printf("%d",sum);
}
Strange Seal