Please enable JavaScript.
Coggle requires JavaScript to display documents.
LECTURE 3 C# - Coggle Diagram
LECTURE 3
C#
operator
comaprisonal operators
the result of these operators are either true or false
Binary operators
& - and operator -&&
| - or operator- ||
! - not operator
and operator
or operator
decision operator
:
?
example
unary
we use one operator
binary
we use two operators
tenary
we use three operators
LOOP
known number of loop
for each
for loop
unknown number of loops
while
do while
fibonacci number
Literal
Examples
5, 'A', 3.2, "Edip", '?', 105, "Introduction", "program"
'B', 'C', "C"
not
'program'- because it not a character but a group of characters forming a string and strings are denoted by double quotes
Definition
something that has
definite value
and cannot be changed
Variable