86 of 100 menu

Java Taskbook Level 9.6

Given some URL:

String url = "http://test.com/dir1/dir2/dir3/page.html";

Get the name of the first folder:

"dir1"

Make a method that takes a number and returns that number in words. Let the function work with numbers up to 999. See the example:

func(123); // will bring out 'one hundred twenty three'

Given a string containing two numbers and a mathematical operation between them:

'10 + 20'

Write code that will calculate the result of the written mathematical operation.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline