#include<stdio.h>
#include<conio.h>
main()
{
int n,s=0,sum=0,i,d;
printf("enter the number");
scanf("%d",&n);
while(n>0)
{
d=n%10;
s=s+d;
n=n/10;
}
while(s>0)
{
i=s%10;
sum=sum+i;
s=s/10;
}
printf("%d",sum);
getch();
}
5
We only include the headers we actually use. It would be impractical to include every single header in every single program.
A single license is a type of copyright that restricts the use of the program to one computer, or one server. this means that the program cannot be installed for free on different computers. single license is used for more important programs like Microsoft office and Macromedia software.
It appears that only single digit numbers work (0 thru 9)
That usually refers to a floating-point number that is stored in 8 bytes, and has (in decimal) about 15 significant digits. In contrast, single-precision is stored in 4 bytes, and has only 6-7 significant digits.
by using decimals
If necessary.
Digits.
1234679
No one is 100% sure, but rates were probably in the single digits. Some experts say in the low single digits.
9
The ones column are in single digits and if there are none then the 0 digit is used.
No. To check for divisibility by 9 add the digits of the number and if the sum is divisible by 9 then the original number is also divisible by 9, otherwise it is not. For 24815: 2 + 4 + 8 + 1 + 5 = 20 which is not divisible by 9, so 24815 is not divisible by 9. Note that the test can be applied to the sum: repeatedly summing the digits of the sum of the digits until a single digit remains means the original number is divisible by 9 only if this single digit is 9, otherwise it is not (instead it gives you the remainder when the original number is divided by 9). This single digit is known as the digital root of the number.
A single program is also known as uni programming. Uni programming only allows on program to be present in the memory at a time. Single program
Digits
A digit is a single number. For example: 0 to 9 are single digits.
There is nothing "in" digits. Digits are single characters representing the ten integers from 0 to 9 (inclusive).