Anda di halaman 1dari 2
s Programming eae Arsfee tome = Stroktur Program © = Jenis dan operator darter = “fontror ativan dic M1 ~ Furngsi C Ce function) Sebeeeeee | Strustur Progtam © | = Section dt indude —v Utk menrisiptan file header e = Section main () -0 tode tang Asjarantan sac program dimutei WD Tire dares vrama dara Cc s— Char . 8-bit integer datam AVE int + lb-bit mteqer daram AVE along int: 2-bit integer in ® "i -else™ stetement ex: char a.b sum; Oo 4 Obs 7 Sum = Ath; te Csum 20) Le Printif C" sum is negative"); else ig Sum) printi¢ Ci5um fs posittve”) ; elge Printie Ci sum ig veto"); KENKO" 96s. aoe de" stonemert ______* GOntinud Gletemert_ In loop F ext a i int sum, i: ) i= 4 jy sum 20; U/ initialization 24 cum 057 Eon . While Ci ¢= 10) 4 sum ae Tye SUNS oe faatt4s = te Cis) ‘ Y white (i 4= 00); (ontinve 5 sum = sum ti 4 eseesanece C arrays GO gunction & tige dara sama S ub-routine dari Qreqram + indets array dimutai Jari 0 tama a «bisa t/a dimensi fungi c Aapay memiliti Me poremeter dan —— 3 — hitai yan Skembbaliton: erduian tentany © coding dOK Um otters + OPtimaltan bode ic Ute efistensi ye panjang | 2 Hapus baris kode 7g trelot getu ma | + Kode c harus digormar dengan benar . Gunaton > baris tosong ute memicohton Legian kode + Genacan namo Fpangsi Variabel yang. cbermatna enjetastem kode _ + Untuk mencetar, gunacan font dengan lebor tetap seperti Courier Neus for to kode te i ee . BS Pemyaraan C fertalu Panjang wt & basis fang _dicetor pisobtan Secara logis Menyack \e ro bars. + Gunocen Eomentor C yang | Hingtas utt ©e080006906088686

Anda mungkin juga menyukai