This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

12 Mei 2012

Karakter

KARAKTER ISTIMEWA

// KARAKTER iSTIMEWA
#include <iostream>
#include <string>
using namespace std;

int main()
{
    cout <<"Ini adalah karakter \f\n : ";
    cout <<"Ini adalah  \?\n : ";
    cout <<"Mari Kita bersenang \t senang Bersama Program C\n : ";
    cout <<"ini adalah backspace \b\n : ";
    cout <<"Ini adalah Single Qoute \'\n : ";
    cout <<"Ini adalah Double Qoute \"\n : ";
    cout <<"Ini adalah Backslash Qoute \\\n : ";
    cout <<"Ini adalah beep \a\n : ";
    cout <<"Dan sebagainya wasalam : ";
    system("PAUSE");
    return 0;
}


Ini hasilnya 

Jika kurang di mengerti kalian bisa download disini Download



Deklarasi

DEKLARASI VARIABEL DAN KONSTANTA



// MENGHITUNG JARI-JARI BOLA BASKET
#include<iostream>
#define pi 10.5
#define char float
using namespace std;

int main ()
{
    char fJarijari, fLuaslingkaran;
    fJarijari = 10.0;
    fLuaslingkaran = pi * fJarijari;
    cout << "Panjang jari-jari : " << fJarijari << endl
         << "Luas Lingkaran    : " << fLuaslingkaran
         << endl;
        
    system("PAUSE");
    return 0;
}


Ini hasilnya


Jika kurang jelas kalian bisa download materinya disini Download