Daisypath Anniversary tickers

Daisypath Anniversary tickers

Saturday, March 26, 2011

aa.. peberet chapter.....

Aaaaa... yang nih chap yg paling aku suke... kire chap peberet le.. best sebab senang nk paham.. gagaggaa.. huhu... maklom la.. chap len mcm nk pecah pale.. chap nih sronok sket.. men kire2.. cam math...

Arithmetic operators :
+ + (Unary Plus)
- - (Unary minus)
+ (Addition)
- (Substraction)
* (multiplication)
/ (Floating-point division / Integer division)
% (Modulus)

increament & decrement operator..
+ + (Pre-increment) e.g + +m
+ + (Post-increment) e.g m+ +
- - (Pre-decrement) e.g - -n
- - (Post-decrement) e.g n- -

soklannye...

a = 2 , b = 3
m = 2 , n = 3
p = 2 , q = 3
x = 2 , y = 3


(+ + a) + (- - b) * 4 > (+ + m) * (- - n) + 4

jawapannye pulak...

(+ + a) + (- - b) * 4 > (+ + m) * (- - n) + 4
(2 + 1) + (3 - 1) * 4 > (2) * (3) + 4
(3) + (2) * 4 > 2 * 3 + 4
3 + 8 > 6 + 4
11 > 10
1 / TRUE


Relational operators :
< (Less than) > (Greater than)
= = (Equal to)
< = (Less than or equal to) > = (Greater than or equal to)
! = (Not equal to)


Logical operators :

& & (and)








l l (or)







! (not)






! (& &) (not and)
! (l l ) ( not or)


No comments:

Post a Comment