Dream-Believe-Make It Happen

Tetap bersama kami di blog, silahkan di putar jika mau

SELAMAT DATANG DI BLOG CATATAN KULIAHAN Manhalawa ...................... TERIMAKASIH telah berkunjung di blog sederhana ini. Silahkan tinggalkan komentarmu, di kolom komentar dibawah, atau di BOX CHAT khusus pengunjung. Terimakasih. ENJOY ... Edited blog BY: Manhalawa,

If you don't understand please click translate below...

CONTOH PROGRAM LOGIKA BORLAND C++, OPERATOR KOMA, CONTOH PRINTF ATAU PUT CHAR, SERTA PUTS, PADA C++



---------------------------------------------------------------------------------------------------
/*program increment*/
#include<stdio.h>
#include<conio.h>
main()
{
int x=10;
x=x++;
printf("nilai x=%d\n",x);
x=++x;
printf("nilai x=%d\n",x);
getch();
}


PROGRAM OPERATOR KOMA

---------------------------------------------------------------------------------------------------
/*program koma*/
#include<stdio.h>
#include<conio.h>
main()
{
char kar1,kar2;
(kar1='A',kar2='B');
printf("%c\n",kar1);
printf("%c\n",kar2);
getch();
}
---------------------------------------------------------------------------------------------------



PROGRAM CONTOH PRINTF ATAU PUT CHAR---
---------------------------------------------------------------------------------------------------

/*program contoh_printf.cpp*/
#include<stdio.h>
#include<conio.h>
main()
{
   char a;
   a='B';
   putchar(a);
   putchar('\n');
   putchar('-');
   getch();
}

---------------------------------------------------------------------------------------------------


PROGRAM PUTS

---------------------------------------------------------------------------------------------------
/*program contoh_printf.cpp*/
#include<stdio.h>
#include<conio.h>
main()
{
char *nama,*jurusan;
nama= "FIRMAN JAYA HALAWA";
puts(nama);
jurusan="teknik informatika";
puts(jurusan);
getch();

}

---------------------------------------------------------------------------------------------------


=================================THANKS=======================================



 TERIMAKASIH TELAH MEMBACA BLOG KITA TENTANG CACATAN KULIAH INI.
============================================================
JANGAN LUPA PILIH IKUTI BLOG BIAR DAPAT UPDATE DARI BLOG KITA.
===================================================================
SERING-SERINGLAH BERKUNJUNG DI BLOG INI YA..HEHE
============================================================
KALAU ADA YANG SALAH ATAU PERLU DIBENAHI SILAHKAN KOMENTAR SAJA YA DI BAWAH...
=======================================================================
KALAU ADA MAU TANYA LEBIH KOMENTAR SAJA.. KITA USAHAKAN CEPAT JAWAB KOK..HEHE
===========================================================================
TERIMAKASIH
==============================================================
SEMOGA BERMANFAAT
==============================


Labels: BAHASA PROGRAM Cpp

Thanks for reading CONTOH PROGRAM LOGIKA BORLAND C++, OPERATOR KOMA, CONTOH PRINTF ATAU PUT CHAR, SERTA PUTS, PADA C++. Please share...!

0 Comment for "CONTOH PROGRAM LOGIKA BORLAND C++, OPERATOR KOMA, CONTOH PRINTF ATAU PUT CHAR, SERTA PUTS, PADA C++"

Back To Top