Study guides

☆☆

Q: C program to find largest and smallest digit in a number?

Write your answer...

Submit

Still have questions?

Related questions

10,000,000 is the smallest 8 digit number 99,999,999 is the largest 8 digit number

what is the difference between the largest 8-digit number and the smallest 6-digit number

0

-2

The smallest is 11 and the largest is 97.

If you allow non integers, then your smallest four-digit number would be .0001. If you only allow integers, then your smallest four-digit number would be 1000. Your largest four-digit number would be 9999.

The largest eight-digit prime number is 99,999,991. The smallest nine-digit number, for comparison, is 100,000,019.

1

Take the smallest 6-digit even number, then subtract one from it.

0

Largest 4 digit number = 9999 Smallest 3 digit number = 111 9999 - 111 = 9888 Largest 4 digit number = 9999 Smallest 3 digit number = 111 9999 - 111 = 9888

The largest 4 digit number with repetition is 9999. The smallest 3 digit number without repetition is 102 9999 - 102 = 9897

It is 90001.

The smallest 5 digit integer is -99999. The largest 5 digit integer is 99999. The sum is therefore 0.

109999. (10000 + 99999)

It is 99,899,999.

8999 is the precise answer

The smallest three digit composite number is 100, and the largest two digit number is 99. 100-99=1.

You get the largest number if you sort the digits, from largest to smallest.

9876-102=9774The largest 4 digit number, without repetition, is 9876.The smallest 3 digit number is 102.Their difference is 9774.

10000-99=901

100000 - 9999 = 90001

99999 - 1000 = 98999

0

199