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
Below is a graph of the Murphys’ annual expenses. How much will the Murphys’ pay in state/local taxes if their gross annual hous
Free_Kalibri [48]
Hi sorry i just need points
6 0
3 years ago
Even though the process is endothermic, snow can sublime. Which tendency in nature accounts for this phase change?.
Ilya [14]

Answer:

Explanation:

.

3 0
3 years ago
Paradichlorobenzene, c6h4cl2 c 6 h 4 c l 2 , is a component of mothballs. A solution of 2. 00 g g in 22. 5 g g of cyclohexane bo
Nimfa-mama [501]

The value of kb of cyclohexane in the given question is; kb = 2.82 °C/m

<h3>Understanding Molality of a Solution</h3>

Molality of solution = (Number of moles of C₆H₄Cl₂)/(Mass of Cyclohexane)

Now;

Number of moles of C₆H₄Cl₂ = Mass/molar mass = 2g/147 g/mol

Number of moles of C₆H₄Cl₂ = 0.0136 mol

Molality of solution = 0.0136/(22.5 * 10⁻³ kg)

Molality of solution = 0.6 m

Now, to find kb for cyclohexane, we will use the formula;

T_b(solution) - T_b(solvent) = kb × molality of solution

Thus;

82.39 - 70 = kb * 0.6

kb = (82.39 - 70)/0.6

kb = 2.82 °C/m

Read more about Molality of Solution at; brainly.com/question/10278982

3 0
2 years ago
If a mutual fund has net assets of $294,000 and 16,800 shares, then each share has a net asset value of $17.50. Please select th
vlada-n [284]
There are no choices provided tho...
6 0
3 years ago
Among the Hard Indians, the nost important animal is
Maru [420]

Answer:

I think its an elephant. Hope this helps.

4 0
3 years ago
Other questions:
  • 1. The region north of 66½° N latitude is the Arctic Circle. a. Use the simulator to tell which season has the longest amount of
    15·1 answer
  • What are the advantages of following a strict repayment schedule?
    9·2 answers
  • Which definition of the word craft is used in the
    10·2 answers
  • What is my name and also how tall do u think I am
    5·1 answer
  • Somebody calculate my gpa for me...? We don't use a weighted scale so does that lower it?
    8·1 answer
  • How are ocean and land ecosystems connected?.
    9·1 answer
  • Which of the following best characterizes the new kingdom.
    12·1 answer
  • Which is the least likely way to become infected with hiv brainly
    10·1 answer
  • When a coin is dropped, it falls to the ground. as the coin falls, it loses potential energy and gains what kind of energy?
    5·1 answer
  • A programmer intended to compute (a AND b) OR c, and wrote the following code, which sometimes yields incorrect output. Why
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!