Vstup: číslo. Výstup: informácia, či je číslo deliteľné 4.
Vstup: rok. Výstup: či rok je rok priestupný alebo nie.
Vstup: cena produktu s DPH. Výstup: DPH.
Vstup: číslo. Výstup: súčet kladných všetkých čísel deliteľných 3 alebo 4 menších ako n.
Vstup: 2 čísla. Výstup: najväčší spoločný deliteľ.
Vypíšte obdĺžnik s m riadkami a n stĺpcami.
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
Vypíšte obdĺžnik s m riadkami a n stĺpcami.
1 1 1 1
0 0 0 0
1 1 1 1
0 0 0 0
Vypíšte obdĺžnik s m riadkami a n stĺpcami.
1 0 1 0
1 0 1 0
1 0 1 0
1 0 1 0
Vstup: číslo. Výstup: obrátené číslo. (Napr.: vstup: 123 výstup: 321).
Online c compiler: https://www.onlinegdb.com/online_c_compiler
Input: whole number. Output: if the number is divisible by 4 or not.
Input: year. Output: information if it is a leap year, or not.
Input: price with tax. Output: tax.
Input: whole number. Output: sum of positive numbers divisible by 3 or 4 smaller than n.
Input: two whole numbers. Output: greatest common divisor.
Print rectangle number pattern with m rows and n columns. Example:
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
Print rectangle number pattern with m rows and n columns. Example:
1 1 1 1
0 0 0 0
1 1 1 1
0 0 0 0
Print rectangle number pattern with m rows and n columns. Example:
1 0 1 0
1 0 1 0
1 0 1 0
1 0 1 0
Input: whole number. Output: reverse number. (Example: input: 123 output: 321).