suke ta suke, tuless jeeerk . . FOP oouuhhh FOP. .best ke kw? ? xD

2/21/2011

miss uji kitorang ..

haaa skg aq na smbong cite.. pas da ciap miss aja sume, n da aja mcm mne cre nak wat jwpn step by step.. miss bg 1 soklan.. then cm bese r, suh ktorng wt.. sj na test student paam ta.. maseng maseng smngat gyler na wat.. sbb tmbh tolak je kn.. cehhh ! pdahal susa jgk.. hahaha.. tp alhamdulillah aq pon dpt jwb ((: stakat niyy, chap 4 niy la plg sng bg aq.. bg aq laa.. tataw plak kwn kwn yg len.. hope dorang pon ok ! amiiin kt bwh niyy soklan yg miss suh ktorang wt..

SOALAN :
             

JAWAPAN :
              

just do it ! :D

EXAMPLE 1

EXAMPLE 2

EXAMPLE 3

chapter four ..

ok guys.. setelah sekian lame aq ta update ini blogggg, huhh ase cm malash la plaak na update.. haha.. tp na tanak kne update jgak!! (: mulekan nan bismillah cm bese.. hee hmm ok last week punyer class, miss bg notes utk chap 3 & 4.. tp knp ekk?? knp chap 3 kite ta blaja?? ntahh laa aq pon ta paam.. yg aq tw kite tros start nan chap 4.. express! :D miss trang kn byk bnde actually.. tp ad yg ta msok otak aq.. sbb kdng aq berangan.. tp lg byk yg msok dpd yg ta msok tuhh.. insyallah

Di sbbkn dlm bab niy kte blaja psl pngiraan, so tht byk simbol kte kne egt.. tw takkk?? meh sini bia aq aja ap je simbol yg aq ckp tuhh..

1) Arithmetic operators :
    + + (Unary Plus)
    - - (Unary minus)
    + (Addition)
    - (Substraction)
    * (multiplication)
    / (Floating-point division / Integer division)
    % (Modulus)
Dlm C++, ade increament nan decrement operator..
    + + (Pre-increment) e.g + +m
    + + (Post-increment) e.g m+ +
    - - (Pre-decrement) e.g - -n
    - - (Post-decrement) e.g n- -

Tips utk sng hfl : klw simbol dy tuh kt dpn variable (Pre-), kne tambah or tolak nan 1.. tp klw simbol kt blkng (Post-) xyah tmbah pape.. ekot jek mcm soklan dy.. aq bg cth k..
SOALAN :        a = 2 , b = 3
                      m = 2 , n = 3
                       p = 2 , q = 3
                       x = 2 , y = 3            

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

JAWAPAN :
               

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

3) Logical operators : (0/False , 1/True)
    & & (AND) ----> ade je 0 mesty 0/false
    | | (OR) ----> ade je 1 mesty 1/true
    ! (NOT) ----> tebalek kn jer.. klw 1, jwpn 0.. klw 0, jwpn 1
    !(& &) (NOT AND) ----> jwpn tbalek nan & &
    !(| |) (NOT OR) ----> jwpn tbalek nan | |
 e.g Question yg miss suh ktorang wt