OPERATOR DALAM PEMROGRAMAN

Pengertian Operator Pemograman
Operator adalah simbol-simbol khusus yang digunakan untuk mengoperasikan suatu nilai data (operand).
Ada beberapa jenis operator, yaitu :
  1. Assignment Operator / Operator Penugasan 
         Assignment Operator (operator penugasan) adalah operator yang menggunakan tanda sama   dengan (=) untuk mengisi sebuah nilai dalam suatu variabel.
 operatorassignment
  1. Arithmetic Operator / Operator Aritmatika
 
Arithmetic Operator (operator aritmatika) adalah operator yang digunakan untuk melaksanakan operasi aritmatika.
Beberapa operator aritmatika antara lain:
* : untuk perkalian
+ : untuk penjumlahan
- : untuk pengurangan
/ : untuk pembagian
% : untuk sisa pembagian (modulus)
 
operatoraritmatika
  1. Logical Operator / Operator Logika / Boolean Operator
 
Operator Boolean atau Operator Logika adalah operator yang digunakan untuk melakukan operasi logika yaitu operator yang menghasilkan nilai TRUE (benar) atau FALSE (salah).
Bebarapa macam operator logika antara lain:
1. and : menghasilkan nilai TRUE jika kedua operand bernilai TRUE
2. or : menghasilkan nilai TRUE jika salah satu operand bernilai TRUE
3. xor : menghasilkan nilai TRUE jika salah satu operand bernilai TRUE tetapi bukan keduaduanya
bernilai TRUE
4. ! : mengasilkan nilai tidak TRUE
5. && : menghasilkan nilai TRUE jika kedua operand bernilai TRUE
6. || : menghasilkan nilai TRUE jika salah satu operand bernailai TRUE
 
operatorboolean
  1. Comparison Operator / Operator Pembanding
 
Operator Pembanding adalah operator yang digunakan untuk membandingkan dua buah nilai atau operand.
Operator perbandingan ini antara lain :
<  : untuk kurang dari
> : untuk lebih dari
<= : untuk kurang dari atau sama dengan
>= : untuk lebiih dari atau sama dengan
== : untuk sama dengan
!= : untuk tidak sama dengan
<> : untuk tidak sama dengan
 
operatorpembanding

 Semoga Bermanfaat ^_^.

Bagikan

Comments (13)

  • excalay cialis original https://viacialisns.com/ - Cialis Amoxicillin Sell <a href=https://viacialisns.com/#>cialis online</a> Cialis Usa Prices 06 Juni 2020 - 11:20:24 WIB
  • Matthewslody <a href="https://canadian-pharmacy-official.com/#"& gt;buy viagra</a>
    <a href=https://canadian-pharmacy-official.com/#>viagra pill </a>
    https://canadian-pharmacy-official.com/# - viagra online
    <a href="https://canadian-pharmacy-official.com/" target="_blank">viagra dosage</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">online viagra</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">viagra prices</a>

    *********.thbattle.net/space-uid-417774.html
    http: //***.uroda.com/produkty/taft-instatn-volume-powder
    ht tp://***.mzbxg.com/plus/guestbook.php?gotopagerank=&t otalresult=54271&pageno=1
    ******gunsagogo.org/gue stbook/index.php?mode=3&post_id=298213
    ******foru m.muhp2009.com/member.php?38218-Matthewbak
    25 Agustus 2020 - 19:33:24 WIB
  • Matthewslody <a href="https://canadian-pharmacy-official.com/#"& gt;generic viagra canada</a>
    <a href=https://canadian-pharmacy-official.com/#>cheap viagra </a>
    https://canadian-pharmacy-official.com/# - viagra prices
    <a href="https://canadian-pharmacy-official.com/" target="_blank">viagra pills</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">cheap viagra online canadian pharmacy</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">discount viagra</a>

    *********.vibreleve.com/desejos/de/Desejo%20esse%20ca rro%20anfibio/3250
    ******anapa-vibor.ru/zhk-gorizont- anapa#comment-11371
    *********.ckxjieneng.com/Tools/Co mment.aspx?mark=product
    ******forum.settimanasudoku.i t/showthread.php?191618-my-site-tt-ky&p=562464#post56 2464
    ******blackamerica.info/obamagate-is-just-trumps -latest-effort-at-distraction/?unapproved=21952&moder ation-hash=dd374aa076624f9408602bbd6bcf805e#comment-21952
    26 Agustus 2020 - 07:47:53 WIB
  • Matthewslody <a href="https://canadian-pharmacy-official.com/#"& gt;viagra online pharmacy</a>
    [url=https://canadian-pharmacy-official.com/# ]viagra sildenafil [/url]
    https://canadian-pharmacy-official.com/# - discount viagra
    <a href="https://canadian-pharmacy-official.com/" target="_blank">cheap viagra online</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">viagra online pharmacy</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">buy viagra</a>

    ******forum.settimanasudoku.it/showthread.php?192722- my-site-un-mc&p=566982#post566982
    *********.peuge ot-207-club.ru/forum/showthread.php?p=1924251&posted= 1#post1924251
    *********.xmtbw.com/forum.php?mod=viewt hread&tid=76&pid=2380922&page=73&extra=#p id2380922
    *********.tdedchangair.com/webboard/viewtop ic.php?f=2&t=13208&p=221473#p221473
    ********* .peugeot-207-club.ru/forum/showthread.php?p=1925900&p osted=1#post1925900
    26 Agustus 2020 - 15:54:53 WIB
  • Matthewslody <a href="https://canadian-pharmacy-official.com/#"& gt;viagra alternative</a>
    [url=https://canadian-pharmacy-official.com/# ]sildenafil viagra [/url]
    https://canadian-pharmacy-official.com/# - generic viagra sildenafil
    <a href="https://canadian-pharmacy-official.com/" target="_blank">buy generic viagra online</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">viagra cheap</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">viagra 100mg</a>

    *********.peugeot-207-club.ru/forum/showthread.php?p= 1925370&posted=1#post1925370
    ******mayaptrungmact ech.com/cac-cau-hoi-thuong-gap/ga-tre-ap-bao-nhieu-ngay-t hi-no?unapproved=15116&moderation-hash=e8f49e88b16387 bcb905b5c7fe91e035#comment-15116
    ******meitui8.info/h ome.php?mod=space&uid=369211
    *********.metzbadmin ton.com/actu/circuit-jeunes-moselle-metz#comment-112995

    *********.metzbadminton.com/actu/information-sur-les-i nscriptions-de-tournois#comment-112084
    26 Agustus 2020 - 23:27:14 WIB
  • Matthewslody <a href="https://canadian-pharmacy-official.com/#"& gt;viagra pill</a>
    [url=https://canadian-pharmacy-official.com/# ]generic viagra cost [/url]
    https://canadian-pharmacy-official.com/# - sildenafil dosage
    <a href="https://canadian-pharmacy-official.com/" target="_blank">generic viagra</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">buy viagra online</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">how to use viagra</a>

    *********.szjarch.cn/Tools/Comment.aspx?mark=product r
    *********.ahmadrabah.com/site/article/185
    ******w ww.bikepics.be/brommers/Solex/boek.php
    ******nvrzone. com/ru/forum/topic/29297#comment-188619
    ******forum.s ettimanasudoku.it/showthread.php?192595-my-site-qv-tm& ;p=566561#post566561
    27 Agustus 2020 - 03:41:49 WIB
  • Matthewslody <a href="https://canadian-pharmacy-official.com/#"& gt;cheapest generic viagra</a>
    [url=https://canadian-pharmacy-official.com/# ]viagra without a doctor prescription [/url]
    https://canadian-pharmacy-official.com/# - pills viagra
    <a href="https://canadian-pharmacy-official.com/" target="_blank">viagra canada</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">viagra generic</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">cheap viagra</a>

    *********.moderntimesbeer.com/blog/bay-area-sneak-pre view?page=20#comment-674346
    ******blackamerica.info/p rincess-love-requests-full-custody-of-her-2-kids-with-ray -j-he-says-theyre-spending-more-time-together-amid-divorc e-proceedings/?unapproved=22531&moderation-hash=cdd3f 73e9cc1e43c5332fbe52ef48be5#comment-22531
    ******forum .l2ihome.com.ua/index.php?showtopic=171770
    *********. nonsolotigullio.com/scuolareiki/guestbook/
    *********. autocommunity.ru/moscow/severavto#comment-24454
    27 Agustus 2020 - 06:22:45 WIB
  • Matthewslody <a href="https://canadian-pharmacy-official.com/#"& gt;online viagra</a>
    [url=https://canadian-pharmacy-official.com/# ]generic for viagra [/url]
    https://canadian-pharmacy-official.com/# - sildenafil generic
    <a href="https://canadian-pharmacy-official.com/" target="_blank">viagra cheap</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">best place to buy generic viagra online</a>
    <a href="https://canadian-pharmacy-official.com/" target="_blank">sildenafil online</a>

    *********.guidepublicaffairs.co.uk/article/142-instit ute-of-direction
    ******forum.settimanasudoku.it/showt hread.php?194566-my-site-zq-aa&p=571790#post571790
    n*********.szjarch.cn/Tools/Comment.aspx?mark=product
    n*********.kerodownload.com/index.php?show=fx_info&i d=28098&aviso=Coment%D0%93%D0%8Erio+inserido+com+suce sso.#com
    ******forum.settimanasudoku.it/showthread.ph p?194713-my-site-oy-af&p=572071#post572071
    27 Agustus 2020 - 10:34:46 WIB
  • infatomStiftgag ******onlinecasinouse.com/# vegas slots online online casino bonus <a href="******onlinecasinouse.com/# ">play slots online </a> casino play 15 September 2020 - 20:31:52 WIB

Silahkan Tinggalkan Komentar