borjois

WELCOME TO MY BLOG

Ketik yg Anda Cari

Powered By Blogger

15/11/10

input pada cpp

PROGRAM SEDERHANA MENGGUNAKAN CPP
KODE PROGRAM
Kode Program
#include
#include
main()
{
clrscr();
printf ("\n\n\n %58s", "PERDAGANGAN BURSA MOTOR di INDONESIA \n");
printf ("\ %58s", "==================================== \n");
printf(" \n\n\n\n %69s","------------------------------------------------------------");
printf("\n %15s", "Merk");
printf("%10s","cc");
printf("%25s", "Jumlah produksi");
printf("%18s", "Produsen");
printf("\n %69s", "------------------------------------------------------------");
printf("%27s", "Bajaj");
printf("%10s","250");
printf("%20s", "10.100 unit");
printf("%21s", "Pulsar\n");
printf("%15s", "YZR");
printf("%12s","250");
printf("%20s", "8.000 unit");
printf("%21s", "Yamaha\n");
printf("%19s", "Thunder");
printf("%8s","250");
printf("%20s", "11.334 unit");
printf("%21s", "Suzuki\n");
printf("%21s", "Honda CBR");
printf("%6s","250");
printf("%20s", "9.000 unit");
printf("%20s", "Honda\n");
printf("%17s", "Ninja");
printf("%10s","250");
printf("%20s", "7.000 unit");
printf("%22s", "Kawasaki \n");
printf("%69s", "============================================================");
getch();
return 0;
}

OUTPUT :

Tidak ada komentar:

Posting Komentar

traffic