Funkcije

U ovoj kategoriji rješavat ćete, između ostaloga i zadatke u kojima ćete za niz brojeva upotrebom funkcijâ:

  • izračunavati i obrađivati znamenke brojeva cjelobrojnog i realnog tipa,
  • ispitivati djeljivost brojeva, izračunavati najmanje zajedničke višekratnike ili najveće zajedničke djelitelje,
  • ispisivati brojeve traženih karakteristikâ iz zadanih intevala,
  • tražiti i obrađivati prim i savršene brojeve,
  • izračuvati srednje vrijednosti brojeva zadanih karakteristikâ,
  • nalaziti najveće ili najmanje brojeve ili nihove cijele ili decimalne dijelove,
  • izračunavati udaljenosti točaka od ishodišta koordinatnog sistema ili međusobno,
  • ispisivati karakteristike točke najbliže ili najudaljenije od ishodišta,
  • određivati u kojem se kvadrantu koordinatnog sistema nalaze točke,
  • izračunavati opsege, površine i volumene geometrijskih likova ili tijelâ,
  • sortirati znakove ili obrađivati znamenke njihovih ASCII kôdova.

Functions

In this category, you will solve, among other things, tasks in which you will use functions for a series of numbers:

  • calculate and process the digits of integer and real numbers,
  • test the divisibility of numbers, calculate the least common multiples or greatest common divisors,
  • print numbers of the required characteristics from given intervals,
  • search for and process prime and perfect numbers,
  • calculate the mean values of numbers of given characteristics,
  • find the largest or smallest numbers or their integer or decimal parts,
  • calculate the distances of points from the origin of the coordinate system or from each other,
  • print the characteristics of the point closest to or farthest from the origin,
  • determine in which quadrant of the coordinate system the points are located,
  • calculate the perimeters, areas and volumes of geometric figures or solids,
  • sort characters or process the digits of their ASCII codes.
Copyright by Zlatko Nadarević © 2025