Kamis, 03 Desember 2009

Dasar Dasar C++ "Bg II"


#include <iostream.h>
#include <conio.h>

int main()
{
            int i=4;
   cout<<"Nilai i awal = "<<i<<endl;
   cout<<"NIlai i setelah i++ = "<<i++<<endl;
   cout<<"Nilai i setelah ++i = "<<++i<<endl;
   i++;
   i = i+4;
   cout<<"Nilai i setelah i+++4  "<<i <<endl;
   ++i;
   i = i +4;
   cout<<"Nilai i setelah ++i+d = "<<i<<endl;
   cout<<"Nilai i terakhir = "<<i<<endl;
   getch();
   return(0);
}





1 komentar:

Anonim mengatakan...

Lucky Club - Lucky Club Live Casino
Lucky Club is an amazing gambling platform. The site is operated by Vividbet, and the site is run by luckyclub.live a small team of experts from around the world.