THIS IS ONLY FOR UPTO A FIVE DIGIT NO. BY ROHAN ARORA
#include
#include
void main()
{
int a,n,s,sum=0;
clrscr();
printf("Enter the number between 1 to 5 digits\n");
scanf("%d",&a);
while(a!=0)
{
n=a%10;
sum=sum+n;
a=a/10;
}
printf("The sum of digits of the given numberis %d",sum);
getch();
}
yes ,i can add the website link in java program when we write.
There are no four odd numbers that will add up to nineteen.
Million is the name given to a number with 7 digits in front of the decimal place. In order to write out any number take the number you are given and and move the decimal place to the right until you have 7 digits in front of the decimal. add zeros to the end until it has 7 digits in front of the decimal place. So 2.25 million would be 2,250,000.
write it in 8085
58
23
58
37
-- List the digits that are used to write the number. -- Add up the list.
"Mean" usually means "average", so you just add the numbers together, then divide by 8.
GOUDHMARINI
You must add 9 digits (or 12 digits, depending on the country) after the decimal point, and eliminate the decimal point. Thus (assuming the "short scale") you get: 53,620,000,000.You must add 9 digits (or 12 digits, depending on the country) after the decimal point, and eliminate the decimal point. Thus (assuming the "short scale") you get: 53,620,000,000.You must add 9 digits (or 12 digits, depending on the country) after the decimal point, and eliminate the decimal point. Thus (assuming the "short scale") you get: 53,620,000,000.You must add 9 digits (or 12 digits, depending on the country) after the decimal point, and eliminate the decimal point. Thus (assuming the "short scale") you get: 53,620,000,000.