1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Mariana [72]
4 years ago
9

How to group numbers in list into groups of number of digits?

Mathematics
1 answer:
Alexeev081 [22]4 years ago
4 0

This looks a lot more like a computer programming problem than a math problem.

If the numbers are integers, adding 1 to the integer part of the base-10 logarithm will tell you the number of digits the number has. (Be careful with 0.)

Once you have a list that associates a number of digits with the number, you can categorize by the number of digits.

In short, take a number from your input list, count its digits, then assign it to an output list according to the number of digits it has.

_____

Another way to do this is to sort your numbers, then identify the numbers less than 10 (1-digit), less than 100 (2-digits), less than 1000 (3-digits), and so on.

You might be interested in
A theater is selling tickets to a play. Adult tickets cost $8 each and children's tickets cost $5 each. They collect $275 after
lyudmila [28]

Answer:

  • 30 adult tickets
  • 7 children's tickets

Step-by-step explanation:

x and y are defined as the numbers of adult's tickets and the number of children's tickets, respectively. So x=30 means 30 adult tickets; y=7 means 7 children's tickets.

Revenue from sales of those numbers of tickets would be $275.

5 0
3 years ago
Read 2 more answers
-5(6x+3y-1)<br> Simplify
BigorU [14]

Answer:

-30x+15y+5 is the simplified answer

7 0
3 years ago
on the coordinate grid, the graph of y=³√-x-1 is shown. it is a reflection and translation of y= ³√x. what is the range of the g
Leni [432]
The range is the set of possible images, i.e. "y".

So you can discard options "a" and "c".

2 is a possible image, and all the real numbes are.

Then the answer is "d. y | y is a real number"
6 0
3 years ago
Read 2 more answers
What is 18/36 in simplest form
PolarNik [594]

The greatest common factor of 18 and 36 is 18.

So, 18 goes into 18 once, and 18 goes into 36 twice.

1/2 is the fraction in simplest form.

5 0
3 years ago
Read 2 more answers
Simon took the length width and height of his textbook. the measurements were 26 cm, 23 cm, and 3cm respectively. what is the vo
bixtya [17]
V=lwh so
V=(26)x(23)x(3)
V=1794
5 0
3 years ago
Other questions:
  • Nola’s car gets approximately 42 miles per gallon. She is planning to drive x miles with her friends
    15·2 answers
  • Raising any base to the power of zero will yield?
    7·1 answer
  • How to evaluate definite integral without the fundamental theorem of calculus?
    7·1 answer
  • What is the graph of y=-x+2
    9·2 answers
  • An angle measures 31 . What is the measure of its complement?
    6·2 answers
  • Please help me finish this problem of pythagorean theorem model.​
    5·1 answer
  • A set of two or more equations with the same variables is called a system of equations. When you set the
    8·1 answer
  • Covent 13/10 to a mixed number
    13·1 answer
  • Find the zeros of the function p(x) = -9x^2 + 1
    10·1 answer
  • Another day, another math problem 3
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!