Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Laporan Praktikum Bahasa C Ke 2 Oktava Suganda

Laporan Praktikum Bahasa C Ke 2 Oktava Suganda

Ratings: (0)|Views: 22|Likes:
Published by iulloo

More info:

Published by: iulloo on Oct 20, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/20/2011

pdf

text

original

 
TUGAS PRAKTIKUMPEMROGRAMAN 2MENGGUNAKAN BAHASA C
Modul 2: Input dan Output
NAMA : OKTAVA SUGANDANPM : 09.0504.0019PRODI : TEKNIK INFORMATIKA S1FAKULTAS TEKNIKUNIVERSITAS MUHAMMADIYAH MAGELANG2009 / 2010
 
#include "stdio.h"#include "conio.h"void main(){char kode[20];char nama[20];float harga, jumlah, jclrscr();printf("**************printf("** PROGRAM MEprintf("**************printf("** NAMA = OKTprintf("** NPM = 09.printf("**************printf("==============printf("\n Kode Barangscanf("%s",&kode);printf("\n Nama Barangscanf("%s",&nama);printf("\n Hargascanf("%f",&harga);printf("\n Jumlahscanf("%f",&jumlah);jml_hrg=harga*jumlah;printf("==============printf(" Kode Barangprintf(" Nama Barangprintf(" Hargaprintf(" Jumlahprintf(" Jumlah hargaprintf("==============getch();}ml_hrg;*************************\n");NGHITUNG JUMLAH HARGA **\n");*************************\n");AVA SUGANDA **\n");0504.0019 **\n");*************************\n\n");=========================\n");: ");: ");: Rp ");: ");=========================\n");= %s\n",kode);= %s\n",nama);= Rp %.2f\n",harga);= %.0f\n",jumlah);= Rp %.2f\n",jml_hrg);=========================\n");

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->