Q:

Write a PHP program to find the difference between the largest integer and the smallest integer which are created by 8 numbers from 0 to 9

0

Write a PHP program to find the difference between the largest integer and the smallest integer which are created by 8 numbers from 0 to 9. The number that can be rearranged shall start with 0 as in 00135668.

Input: The difference between the largest integer and the smallest integer.

Pictorial Presentation:

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Sample Input:
1
34568729

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now