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.

Wednesday, May 2, 2012

Perulangan (Looping) Bentuk Segitiga Terbalik pada Linux with C


Berikut ini merupakan contoh dari Perulangan (Looping) Membuat Bentuk Segitiga Terbalik dengan menggunakan Linux with C..
Penulis menggunakan VMWare sebagai media untuk menjalankan Linuxnya..

Tampilan Kodingnya:














Hasilnya:







Bentuk Yang lainnya:














Hasilnya:


Perulangan (Looping) Bentuk Segitiga pada Linux with C

Berikut ini merupakan contoh dari Perulangan (Looping) Membuat Bentuk Segitiga dengan menggunakan Linux with C..
Penulis menggunakan VMWare sebagai media untuk menjalankan Linuxnya..

Tampilan Kodingnya:













Hasil tampilannya ketika Program Dijalankan..
Ketika Kita input angka 5..







Berikut ini adalah Versi Lainnya:














Berikut ini adalah Hasilnya:






Kalau mw tau gimana LOGIKANYA.. Kasih komentar aja yah..

Program Mencari Nilai Tangen (TAN) dengan math.h di C++

#include <iostream.h>
#include <math.h>
#include<conio.h>
#define PI 3.14159265
void main ()
{
double param, result;
param = 45.0;
result = tan (param*PI/180);
cout<<”tan 45 = “<<result<<endl;
getch();
}

Program Mencari Nilai Cosinus (COS) dengan math.h di C++

#include<math.h>
#include <conio.h>
void main(){
clrscr();
int a;
const float phi =3.14159265;
float hasil;
cout<<"masukan a: "; cin>>a;
hasil = cos (a*phi/180);
cout<<"hasilnya= "<<hasil<<endl;
getch();
}

Program Mencari Nilai Sinus (SIN) dengan math.h di C++

#include<iostream.h>
#include<math.h>
#include <conio.h>
void main(){
clrscr();
int a;
const float phi =3.14159265;
float hasil;
cout<<"masukan a: "; cin>>a;
hasil = sin (a*phi/180);
cout<<"hasilnya = "<<hasil<<endl;
getch();
}