Computer Science, asked by coc985117852815, 7 months ago

WAP to input a number and find the sum of its individual digits.

Answers

Answered by nishajaffarky
2

#include<stdio.h>

int main()

{

int n,sum=0,m;

printf("Enter a number:");

scanf("%d",&n);

while(n>0)

{

Hope its helpful and please suscribe phoenix five drawing team and phoenix five cooking team

Similar questions