Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Practice Problems in LOLGraphics/Problem II - Greek Numerals

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Namer has successfully written a calculator in LOLGraphics and got a free ride to Istanbul. Near the port, he met a cat from the Order of the Tiger who said he will tell the way to the launch location if Namer can write a program in LOLGraphics that converts Arabic Numerals to Greek Numerals. He also gave a page that reads as following: In order to prove that you are worthy to see the hot air balloon of His Majesty King Battlecat III, you need to first write a code that converts Arabic Numerals to Greek Numerals. Here is a table of Greek Numerals (there are multiple variations, we will be using the modern one for typability): ArabicGreekArabicGreekArabicGreekArabicGreek1Αʹ10Ιʹ100Ρʹ1000,Α2Βʹ20Κʹ200Σʹ2000,Β3Γʹ30Λʹ300Τʹ3000,Γ4Δʹ40Μʹ400Υʹ4000,Δ5Εʹ50Νʹ500Φʹ5000,Ε6Ϛʹ60Ξʹ600Χʹ6000,Ϛ7Ζʹ70Οʹ700Ψʹ7000,Ζ8Ηʹ80Πʹ800Ωʹ8000,Η9Θʹ90Ϟʹ900Ϡʹ9000,Θ So the number 7777 will be written ,ΖΨʹΟʹΖʹ. Assume the number is smaller than 9999 but bigger than 1.