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
galben [10]
2 years ago
7

One fragment of a given integer n can be selected and its digits reversed (replaced with a right to left version of themselves).

What is the maximum number that can be obtained this way from integer n?.
SAT
1 answer:
andrew11 [14]2 years ago
7 0

Integers are numbers without decimal points. The number could be positive, negative or zero

<h3>How to determine the maximum number from the integer</h3>

The maximum number from integer N can be determined using the following program written in Python, where comments are used to explain each line

#This prompts the user for input

num = input("Number: ")

#This iterates from 0 to 9

kount = [0 for x in range(10)]

# This iterates through the input, and updates the kount variable

for i in range(len(num)):

  kount[int(num[i])] = kount[int(num[i])] + 1

# This next two lines initialize the greatest number

greatestNum = 0

multiplier = 1

# This iterates through the kount array

for i in range(10):

  #The following is repeated while the current element is greater than 0

while kount[i] > 0:

   #This generates the greatest number

greatestNum = greatestNum + ( i * multiplier )

kount[i] = kount[i] - 1

multiplier = multiplier * 10

#This prints the greatest number

print(greatestNum)

Read more about similar programs at:

brainly.com/question/26426553

You might be interested in
a student throws a rock horizontally from the edge of a cliff that is 20 m high. the rock has an initial speed of 10 m/s. if air
serg [7]

Answer:

40m

Explanation:

u=10m/s, h=20m, g=?, s=h, v=0

solve for g first

v²=u²+2gs

0=10²+2×g×20

0=100+40g

-100=40g

g=-2.5m/s²

solve for time t

v=u+gt

0=10+(-2.5t)

-10=-2.5t

divide both side by -2.5

-10/-2.5=t

t=4s

lastly, solve for x(distance)

x=ut+1/2gt²

x=10×4+1/2×2.5×16

x=40+(2.5×8)

x=40+20=60

then subtract the d1(initial) from d2(final) distance

x=60-20=40m

6 0
3 years ago
When did mother 3 Release
barxatty [35]

Answer:

you stiil need the answer

Explanation:

4 0
2 years ago
You are babysitting for your neighbor's child who just turned one. you are playing with the child's favorite stuffed bear but yo
Vera_Pavlovna [14]
Object permanence. Meaning they think it is gone for good when it is out of their sight.
7 0
2 years ago
Read 2 more answers
How many electrons pass through a 20-ohms resistor in 10 min if there is a potential drop of 30 volts across it?
tangare [24]

The number of electrons passes through 20 ohms resistor in 10  minutes is 5.625e+21.

<h3>What is a resistor?</h3>

In an electronic circuit, a resistor is an electrical component that limits or regulates the flow of electrical current.

Given, the resistance is 20 ohms.

The potential difference is 30 volts

Time is 10 minute

By the formula of current

\rm I = \dfrac{30}{20} = 1.5 \;C/s

The charge flowing through the resistor is 1.5 C/s

1 electron charge is 1.6e+19

Now, the number of electrons passing through a 20 ohms resistor is

\dfrac{1.5}{1.6e+ ^2^1} = 0.9375e+^1^9

In 10 minutes

0.9375e+^1^9 \times 60 \times 10 = 5.625e+^2^1

Thus, the number of electrons passes through 20 ohms resistor in 10  minutes is 5.625e+21.

Learn more about a resistor

brainly.com/question/24297401

#SPJ1

5 0
1 year ago
the average of 10 numbers is −10. if the sum of 6 of them is 100, what is the average of the other 4?
chubhunter [2.5K]

Answer:

-50

Explanation:

Sum of 6 + sum of 4 = -100

100 + sum of 4 = -100

sum of 4 = -200

Avg of 4 = -200/4 = -50

6 0
2 years ago
Other questions:
  • ¿Por qué la Guerra Fría se llamo como tal? ¿Cuándo comenzó?
    6·1 answer
  • Is it legal to travel down a road in reverse, as long as your following the direction of the traffic?
    7·1 answer
  • which type of media would be best for showing the order of significant events in a process? A. Map B. Chart C. Timeline D. Graph
    7·2 answers
  • Sara is writing a formal business email. She is writing to tell her client that an order that the client has placed is delayed.
    13·1 answer
  • Is a 3.86 weighted gpa good for freshman year of highschool?
    8·2 answers
  • The product of 5 and n is a multiple of 10. if the product is greater than 0 and less than 50 what is the one possible value of
    6·1 answer
  • Why is it important to not only take care of your physical well being but also your mental health?
    14·1 answer
  • Can light cause the metal to get warm? why or why not? does it matter what type of light shines on the metal?.
    13·2 answers
  • What is the most appropriate unit for the length of a pencil.
    15·1 answer
  • Determine whether each of the concentrations causes an increase or decrease in the activity of the electron transport chain.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!