zmiany
This commit is contained in:
parent
7103ccfc26
commit
6984c8ac56
4 changed files with 23 additions and 0 deletions
23
3-Operatory/main.cpp
Normal file
23
3-Operatory/main.cpp
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
/*
|
||||||
|
Operatory arytmetyczne (+ - * / %)
|
||||||
|
Operatory przypisania (= += -= *= /= %=)
|
||||||
|
Operatory inkrementacji i dekrementacji (++, --)
|
||||||
|
|
||||||
|
Np. a++ + ++b + 4 + ++a XXX <- DON'T DO
|
||||||
|
++i lub i++
|
||||||
|
++i - inkrementacja przed użyciem zmiennej
|
||||||
|
i++ - inkrementacja po użyciu zmiennej
|
||||||
|
|
||||||
|
Operatory relacyjne (== != > < >= <=)
|
||||||
|
Operatory logiczne (&& || !)
|
||||||
|
*/
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
|
||||||
|
|
||||||
|
system("pause");
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue