answersLogoWhite

0


Best Answer

5

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a pseudo code to find the sum of digits of a given number reducing them to a single digit?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Sum of the digits of a number equals the number.Generate such numbers?

It appears that only single digit numbers work (0 thru 9)


What is double precision value?

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.


In java How do you have a method take in an int value and return an int containing sum of the individual digits in the number using a recursive method?

Add the last digit plus the sum of all the previous digits. The base case is that if your integer only has a single digit, just return the value of this digit. You can extract the last digit by taking the remainder of a division by 10 (number % 10), and the remaining digits by doing an integer division by 10.


What is string array?

A string array is an array whose contents are strings.An array is when you use a single variable names to store different data items. The data items are distinguished by a number (sometimes by more than one).A string is a data type used to store texts. It may contain letters, digits, or other symbols.A string array is an array whose contents are strings.An array is when you use a single variable names to store different data items. The data items are distinguished by a number (sometimes by more than one).A string is a data type used to store texts. It may contain letters, digits, or other symbols.A string array is an array whose contents are strings.An array is when you use a single variable names to store different data items. The data items are distinguished by a number (sometimes by more than one).A string is a data type used to store texts. It may contain letters, digits, or other symbols.A string array is an array whose contents are strings.An array is when you use a single variable names to store different data items. The data items are distinguished by a number (sometimes by more than one).A string is a data type used to store texts. It may contain letters, digits, or other symbols.


Multi-programming or multi-tasking enables more than a single process to apparently execute simultaneously How is this achieved on a uniprocoessor?

The two approaches allow to achieve pseudo-concurrrency on a single processor. They are just slightly different in their approach. Here is the slight difference: http://en.wikipedia.org/wiki/Multiprogramming

Related questions

How do you define digit?

A digit is a single number. For example: 0 to 9 are single digits.


How many digits are in 67392?

There are five digits. A digit is each single number in the number as a whole: 6-7-3-9-2


What is 2986.34157 decimal places?

A single digit in a number can have a place. A number with several digits cannot.


Can you put fifteen digits in excel?

Yes you can enter a number as text in which case you can enter I believe up to 256 digits. or you can enter 15 single digits numbers into 15 different cells or you can enter a single 15 digit number in a single cell (this is the physical limit set by the software on how many digits a number can be allowed to have) though it will most likely be displayed in scientific notation unless you format it differently.


What is this number place value 8.675?

A single digit in a number can have a place value. A number with several digits cannot.


What are the place values of whole number?

A single digit in a number can have a place value. A number with several digits cannot.


In America most people's number of sexual partners is in the single digits?

False


What is single end digits?

a single end digit is a digit at the end of a number. e.g. 4735 the SED is 5


What is the place value of the decimals?

A single digit in a number can have a place value. A number with several digits cannot.


What is the place value of 263148?

A single digit in a number can have a place value. A number with several digits cannot.


Place value of 968.21?

A single digit in a number can have a place value. A number with several digits cannot.


What is the place value of 17.2128?

A single digit in a number can have a place value. A number with several digits cannot.