[Challenge] Car Licence Plate Calculator (medium) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

[Challenge] Car Licence Plate Calculator (medium)

The City LearnSolo wants to create a new licence plate administration tool. Your job is to code a programm which gives the Nth next licence plate to a providet licence plate. licence plates domain: AAA-000-AAA, AAA-000-AAB, AAA-000-AAC . . ., AAA-000-ZZZ, AAA-001-AAA, . . . AAA-999-ZZZ, AAB-000-AAA, . . .ZZZ-999-ZZZ eg. input => AAA-999-ZZQ 23 output=> AAB-000-AAN input => AZZ-999-ZZZ 1 output => BAA-000-AAA input => AAA-000-AAA 20 output => AAA-000-AAU if there are errors or questions pls ask !

15th Oct 2017, 8:19 AM
Chrizzhigh
Chrizzhigh - avatar
5 Answers
+ 8
Here's my C# implementation! ✌ Thanks Chrizzhigh for the interesting challenge. Interestingly, it takes a whopping 308 billion to exhaust the car license plate, almost quadruple the amount of human population on our planet! Enjoy~ ❤ https://code.sololearn.com/cVzlDpgw1BI3/?ref=app
15th Oct 2017, 2:37 PM
Zephyr Koo
Zephyr Koo - avatar
15th Oct 2017, 11:34 AM
Eren Karakuş
Eren Karakuş - avatar
+ 6
@Eren there's a bug in the Python program, please check your code comment. 😉
15th Oct 2017, 2:05 PM
Zephyr Koo
Zephyr Koo - avatar
+ 4
@Zephyr Koo I solved the problem. Thank you again.
15th Oct 2017, 3:10 PM
Eren Karakuş
Eren Karakuş - avatar
15th Oct 2017, 5:11 PM
John Wells
John Wells - avatar