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]
3 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]3 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
What are the outer planets
ivann1987 [24]

Answer:

The gas giants of our solar system are Jupiter, Saturn, Uranus and Neptune.

Explanation:

5 0
3 years ago
. A motor is spinning a circular disk with a diameter of 2.5 inches at a rate of 7200 RPM (revolutions per minute). If the motor
Over [174]

The angle turned is obtained as 3.77 rads.

<h3>What is the angle of rotation?</h3>

We have the following information about the disk;

velocity 1= 7200 RPM

velocity 2 = 0 RPM

time taken = 0.01 seconds

We must convert from RPM to rad/s using the relation;

2π·7200/60 = 754 rad/s

Using;

θ = ωavt

θ = (754 rad/s + 0 rad/s)/2 * 0.01 seconds

θ = 3.77 rads

Learn more about circular motion:brainly.com/question/13376887

#SPJ1

7 0
2 years ago
The conventional theory of the formation of the galaxy brainly.
Nataly_w [17]
<h3>What is conventional theory of the formation of the galaxy ?</h3>

The conventional theory of the formation of the galaxy can be regarded as one that stressed that the formation of milky way was done  relatively short time some million years ago.

And this was when spherical cloud of gas collapsed as a result of pressure the particular gravity which was surrounded by a halo.

Therefore, formation of the galaxy  was recorded to occur  roughly 12 to 13 billion years ago .

Learn more about galaxy at;

brainly.com/question/7974113

3 0
2 years ago
How are the two passages different? The essay is written only for teachers, but the article is written for high-school students.
kherson [118]

The two passages are different as the essay reveals <u><em>Pat Mora’s perspective,</em></u> while the article has a <u><em>less personal tone</em></u>.

From the complete question, it should be noted that in the essay, Pat More utilized the first-person point of view and this implies that the perspective of Pat was revealed in this case.

On the other hand, the article was written in the second-person and this shows that the time is less personal than that of the essay.

Therefore, the essay reveals Pat Mora’s perspective, while the article has a less personal tone.

Read related link on:

brainly.com/question/12399959

6 0
3 years ago
on a coordinate map,the museum is located at (5,7) a park is located 6 units right of the museum on the map. what are the coordi
jeka94
The park would be located at (11,7)
6 0
3 years ago
Other questions:
  • F the following are normally required for admission to a selective college except:
    11·1 answer
  • A strong opening question may reveal errors made in the study group's assignment or reading material.
    14·2 answers
  • Concepto, principios, objetivos, Importancia y técnicas de la supervisión.
    5·1 answer
  • Let’s suppose for a moment, that you are tasked with helping people travel from one location to another without using their own
    5·1 answer
  • Which statements describe homologous structures? Select three options.
    10·1 answer
  • Which statements accurately describe the persian wars.
    10·1 answer
  • Use the story "the landlord's mistake" from fifty famous people by james baldwin to answer the question.
    12·1 answer
  • Once business strategy is defined for an artificial intelligence.
    12·1 answer
  • Forms of money in the united states consist of paper money, coins, and _____.
    9·2 answers
  • True/ False: Gas lines that break during a tsunami do not cause a fire because there is too much water.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!