A little challenge

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Allan Noyd

Member
Apr 29, 2021
48
0
6
24
Make skript print a list of 9 digit integers obeying these rules:
-No digit can have repeating value ( no number can be used more than once)
-First digit must be bigger than 0
-Sum of 1st, 2nd and 3rd digit = 10
-Sum of 3rd, 4th and 5th digit = 10
-Sum of 5th, 6th and 7th digit = 10
-Sum of 7th, 8th and 9th digit = 10
-Biggest and smallest of these 9 digit numbers are highlighted (different color or format)
 
Status
Not open for further replies.