30 of 100 menu

Java Taskbook Level 3.10

Given an integer:

int num = 10203304506;

Print to the console the positions of all 0 digits in this number, except for the first and last.

Given an array of integers:

int arr1[] = {123, 334, 456, 556, 789};

Write numbers consisting of different digits into a new array:

int arr2[] = {123, 456, 789};

Given a fractional number:

float num = 12.34;

Write the integer part of the number in one variable and the fractional part in another:

int num1 = 12; int num1 = 34;
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