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
tresset_1 [31]
3 years ago
5

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
Mathematics
1 answer:
34kurt3 years ago
4 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/15683939

You might be interested in
Solve the literal equation cy−7=5d+3ycy−7=5d+3y for yy.
puteri [66]

We are given the equation:

cy – 7 = 5d

And we are asked to find for y.

First step, add 7 on both sides:

cy – 7 + 7 = 5d + 7

cy = 5d + 7

Next step, divide both sides by c:

cy / c = (5d + 7) / c

<span>y = (5d + 7) / c</span>

4 0
3 years ago
Which equation represents this statement?
yanalaym [24]

Answer:

first one

hope it helps you ...

plzzz plzzz plzzz mark as brainliest

7 0
2 years ago
How do you convert sin into cos, and vice versa.. Promblem: cos(6x) = sin(3x-9)
LUCKY_DIMON [66]
The rule for converting sin into cos and vice versa is:
sin α = cos ( 90° - α ) or cos α = sin ( 90° - α )
In this case:
cos ( 6 x ) = sin ( 90° - 6 x )
sin ( 90° - 6 x ) = sin ( 3 x - 9°)
90° - 6 x = 3 x - 9°
90° + 9° = 3 x + 6 x
99° = 9 x
x = 99° : 9 = 11°
Answer: C ) x = 11°
5 0
3 years ago
Which number line shows the solution to 5 + (−5)?
alex41 [277]

Answer:

first one is A  and the second one is B.

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
What is the gfc of 24 and 36
Alexandra [31]

Answer:

6 is the gfc

Step-by-step explanation:

hope this helped :-)

8 0
3 years ago
Read 2 more answers
Other questions:
  • Find the total area of each pyramid 7 5 5
    7·1 answer
  • The measure of an angle is 4y. Find the measure of its complement.
    8·2 answers
  • Write the equation of a line that has undefined slope and goes through the point (3,3)
    10·1 answer
  • The volume of a storage pod that is shaped like a cube is 1728 cubic feet what is the edge length of the storage pod?
    7·1 answer
  • Anyone know the answer to 2? I really need answers :(
    9·2 answers
  • Which chart belong with the graph at the right?
    5·1 answer
  • Y = 8(x2 + 4x + ) + 17 +
    8·1 answer
  • Any helppp pLeAsE? T^T
    7·1 answer
  • Jesus Christ is coming soon, Believe in him and get saved, Muhammad is dead, Buddha is dead, Krishna is dead, But Jesus rose fro
    15·2 answers
  • Is x = 4 a solution to -10 + 5x = -10<br> -<br> =<br> Yes or no
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!