Sabtu, 23 Maret 2013

Check it out :)


Simple Plan -  Perfect Lyric

Hey dad look at me
Think back and talk to me
Did I grow up according to plan?
Do you think I’m wasting my time doing things I wanna do?
but it hurts when you disapprove all along
And now I try hard to make it
I just want to make you proud
I’m never gonna be good enough for you
I can’t pretend that I’m alright
And you can’t change me

Jumat, 22 Maret 2013

Algo POP


#include <stdio.h>
#include <conio.h>
typedef struct
{
char data[15][15];
int tail;
int head;
}
STACK;
STACK tumpuk;
int main()
{

Kamis, 21 Maret 2013

Basis Data(STACK)


#include <stdio.h>
#include <conio.h>
typedef struct
{
char data[25][25];
int tail;
int head;
}
STACK;
STACK tumpuk;
int main()
{
int a,b,i,j=0;
int banyakdata;
c:

Selasa, 19 Maret 2013

Speech :)

The honorable lecturer and all my beloved friends.
Good Morning :)
First of all allow me to express my deepert thanks to our lecturer for giving me this special opportunity.
The goal That i stand here is to talk about the importance of a friendship. And you should know that iam standing in front of you in the absence of coercion, and if you think i'm standing here by my will...you were wrong, especially if you think only smart people can talk like this..you were also wrong. Ok let me begin.

In friendship we should not indiscriminately, want to be friends with the man in the street,the home,outsiders,insiders and even the scare crow though, but if matters required to selectively seek companions. because wise proverb says that "FRIENDSHIP IS LIKE COFFEE SPILLED ON A WHITE SHIRT, PEOPLE CAN SEE IT BUT ONLY YOU WHO CAN FEEL THE WARMTH".
Choosing friend is easy, but we took a long time to understand it. We choose friend or friend that i think is good to pay attention to:
1. language maner
2. Perbuatan
3. Loyality

Friendship and friends find it difficult and even more difficult to forget.
Friends wiill give you a smile, her best friend make you happy.
Therefor don't be useless to them, because we don't know how valuable they are right until we feel the loss of them. That speech from me, it was more or less injurios beg pardon. Over all the attention you have given this day i say Thankyou :)

Jumat, 15 Maret 2013

Struktur data (judul film dan tahun)


#include <stdio.h>
#include <conio.h>
#include <iostream.h>
#include <stdlib.h>
#include <string.h>
int main()
{
struct film
{
char judul[50];
int tahun;
}

Struktur data (Data mahasiswa)


#include <stdio.h>
#include <conio.h>
#include <iostream.h>
#include <stdlib.h>
#include <string.h>
int main()
{
struct Data_mahasiswa
{
char nama[50];
char alamat[50];
char jurusan[50];
int nilai;
int tahun;
}

Senin, 11 Maret 2013

Program Hitung Luas,keliling,volume


#include <stdio.h>
#include <conio.h>

void luas(void);
void kell(int jari);
float vol(void);
int jarak(int V, int t);

void main()
{
int pilihan;
printf("\n1. Luas\n2. Keliling\n3. Volume\n4. Jarak");
printf("\nPilih ? "); scanf("%d", &pilihan);


#include<stdio.h>
#include<conio.h>
#include<iostream.h>
main()
{
int N[5]={10, 20, 30, 40, 50};
int i;
   {
for(i=0; i<=4; i++)
printf("%d ,  ",N[i]);
}
   getch ();
}

Program Nilai tertinggi-Terendah dan rata-rata pada MinGw


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

void main()
{
  int n,x;
  float d,r,j=0,min,max;
  clrscr();
  cout << "Ada berapa data ? "; cin >> n;
  for(x=1;x<=n;x++)

  {
  cout << "Data ke-" << x << " : "; cin >> d;
  j += d;
  if(x==1){
  min = max = d;
  } else {
  if(d<min){
   min = d;
  }
  if(d>max){
   max = d;
  }
  }
  }
  r = j/n;
  cout << "----------------- " << endl;
  cout << "Nilai tertinggi = " << max << endl;
  cout << "Nilai terendah = " << min << endl;
  cout << "rata-rata = " << r << endl;
  getch();
}

Program MinGw


#include <stdio.h>
#include <string.h>
#include <conio.h>

int main(void)
{ char nd[10], nt[10], nb[10], nl[30];
printf("Ketikkan Nama Depan    : "); scanf("%s",&nd);
printf("Ketikkan Nama Tengah   : "); scanf("%s",&nt);
printf("Ketikkan Nama Belakang : "); scanf("%s",&nb);

strcpy(nl,nd);
strcat(nl," ");
strcat(nl,nt);
strcat(nl," ");
strcat(nl,nb);

printf("Nama Lengkap adalah        : %s\n",nl);
   printf("Nama Lengkap (huruf kecil) : %s\n",strlwr(nl));
   printf("Nama Lengkap (HURUF BESAR) : %s\n",strupr(nl));
getch();

}

Sabtu, 09 Maret 2013


1. Membuat program sisa bagi operator hasilnya  sisa bagi=11/4 adalah 3 sisa bagi 13.75/4 adalah 1.75 ?

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package operator;

/**
 *
 * @author DhoNa
 */
public class Operator {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        int a = 11;
        int b = 4;
        double c = 13.75;
        double sisa_bagi = a%b;
        double sisa_bagi1 = c%b;
        System.out.println("sisa bagi 11/4 adalah" +sisa_bagi);
        System.out.println("sisa bagi 13.75/4 adalah"+sisa_bagi1);
    }
}

1. buatlah operator logika outputnya operasi AND,OR,XOR,NOT.

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package operatorand;

/**
 *
 * @author DhoNa
 */
public class OperatorAND {

Program Total Gaji pada MinGw


# include <stdio.h>
# include <conio.h>
void a();
void b();
int pajak;int z;char e;int k;int gaji;int p;int kerja;
main()
{
char g[200];
printf("Masukan nama:");scanf("%s",&g);
printf("Masukkan Golongan:");scanf("%s",&e);
printf("Masukkan jumlah hari kerja:",k);scanf("%d",&k);

MID SEMESTER 1 (NETBEANS)


1. Buatlah program integer dg hasil yang akan ditampilkan
dilayar hasil=6??

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package programinteger;

/**
 *
 * @author DhoNa
 */
public class ProgramInteger {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        int a=3;
        a+= 3;
        System.out.println("hasil " +a);
    }
}

Program Password dan username pada MinGw


#include <stdio.h>
#include <string.h>
int main()
{
char Pass[25];
char user[255];
int a = 'y'||'n';
ulang:

printf ("\n ^^^^^^^^^^^^ Welcome to Facebook ^^^^^^^^^^^^ \n");
printf("\n");
printf("Masukkan User Name \t: ");scanf("%s",user);
printf("Masukkan Password \t: ");scanf("%s",Pass);
if ((strcmp(Pass, "3saudara")==0)&&(strcmp(user,"Bella")==0))
printf("\n^^^^^^^^^^^ Welcome to Facebook ^^^^^^^^^^^^^");

else
printf("\n Warning ! Password and User Name invalid !");

}

Operator.class


import javax.swing.JOptionPane;

public class operator
{
public static void main (String args [])
{
String input ="";
String keter ="";
int angka1 = 0;

input = JOptionPane.showInputDialog("Masukkan masa kerja Anda : ");
angka1 = Integer.parseInt(input);

keter = (angka1 > 10) ? "Tunjangan menjadi 500000":"Tunjangan menjadi 300000";

JOptionPane.showMessageDialog (null,keter);

System.exit(0);
}
}

Karak.class


public class karak
{
public static void main (String args [])
{
char ch ='a';
char ch1 = 'B';
char besar = Character.toUpperCase(ch);
char kecil = Character.toLowerCase(ch1);
boolean cek = Character.isUpperCase(ch1);
boolean cek1 = Character.isDigit(ch);

System.out.println("Huruf kapital : " + besar);
System.out.println("Huruf kecil : " + kecil);
System.out.println("Apakah huruf besar : " + cek);
System.out.println("Apakah berupa angka : " + cek1);
System.out.print("\n");

System.out.println("Dia berkata \"Assalamu'alaikum\" ke saya.");
System.out.println ("Selamat siang \rmakalah");
System.out.println ("Selamat siang \f makalah");
System.out.println ("Selamat siang, apakah 'makalah' presentasi sudah jadi/beres ?");
}
}

Array List

//konversi array ke list

import java.util.Arrays;
import java.util.Collections;
import java.util.*;
import java.io.*;

public class arraylist
{
  public static void main(String args[])
 {
  String[] strArray = new String[] {"Merah", "Putih", "Biru", "Hijau","Ungu"};

  List ls = Arrays.asList(strArray);
  Collections.sort(ls);
  System.out.println(ls);
  }
}

Speech Malin Kundang


Malin Kundang

Once upon a time, on the north coast of Sumatra lived a poor woman and his son. The boy was called Malin Kundang. They didn’t earn much as fishing was their only source of income. Malin Kundang grew up as a skillful young boy. He always helps his mother to earn some money. However, as they were only fisherman’s helper, they still lived in poverty. “Mother, what if I sail overseas?” asked Malin Kundang one day to his mother. Her mother didn’t agree but Malin Kundang had made up his mind. “Mother, if I stay here, I’ll always be a poor man. I want to be a successful person,” urged Malin kundang. His mother wiped her tears, “If you really want to go, I can’t stop you. I could only pray to God for you to gain success in life,” said his mother wisely. “But, promise me, you’ll come home.”

I LAY MY LOVE ON U -westlife-


just a smile and the rain is gone
can hardly believe it (yeah)
there's an angel standing next to me
reaching for my heart

just a smile and there's no way back
can hardly believe it (yeah)
but there's an angel, she's calling me
reaching for my heart

Jumat, 08 Maret 2013

Semester 2


#include <stdio.h>
int main()
{
                printf("================Sorting===========\n");
                int A[5]= {31, 15, 20, 4, 5},i,j,tampung;
               
                printf("Bella 1:\n");
                for(i=0;i<5;i++){
                                printf("%10i",A[i]);
                }


Semester 2
Bilangan Fibonaci

#include <stdio.h>
#include <conio.h>
int main ()
{
                int i=0;
                int j=1;
                printf("=================Bilangan fibonaci===========\n");
                printf("1\n");
                for(int b=1;b<=5;b++)
                {


Selamat Mencoba :)


#include <stdio.h>
#include <conio.h>
int main (void)
{
                int i;
                int j;
                for(i=1;i<=5;i++)
                {
                                for(j=1;j<=i;j++)
                                {
                                                printf("%d",j);
                                }
                                printf("\n");
                }
}

outputnya :

Input Nama dan Nilai mahasiswa


#include <stdio.h>//include standar input output
#include <iostream.h>//include input output streming
#include <conio.h>//include consh input output

void NamadanNilaiMahasiswa();//Pemanggilan Prosedur Input Nama dan Nilai Mahasiswa
void CetakNamadanNilaiMahasiswa();//Pemanggilan Prosedur Cetak Nama dan Nilai Mahasiswa

Pengurutan Data


source code :
#include <iostream.h>
#include <conio.h>
int data[100];
int jml;

//Method Untuk mengosongkan data
void kosong(){
        for(int a = 0 ; a < 100 ; a++){
               data[a] = 0;
        }
        jml = 0;
        cout << "\nPengosongan data selesai\n";
}

Tugas kelompok


#include<stdio.h>
#include<conio.h>
#include<iostream.h>
#include<iomanip.h>
#include <string.h>

struct
{
                char nama[10];
                int nilai;
}data[30];

main()

Folder Icons free download, Folder Icon Packs download, VeryIcon.com

Folder Icons free download, Folder Icon Packs download, VeryIcon.com

Kamis, 07 Maret 2013

"Aku berasal dari keluarga sederhana. Aku anak yatim karena ayahku meninggal sejak Aku duduk dikelas 5 SD. Untunglah aku punya ibu luar biasa. Yang bisa menghidupi kami dengan bekerja sebagai Guru , tapi juga bisa tetap mengasuh kami dengan kasih sayang,"
Semenjak ayah meninggal Mama lah yang bekerja dan mengurusi aku bersama kakak dan adikku.

Mama adalah sumber inspirasiku.. 
Dia bekerja untuk mencari nafkah dan kebutuhan sekolah kami.. Aku mempunyai Tiga saudara dan itu semua Perempuan.. Mama ku sangat Hebat meskipun kami sering ngeluh atau apalah, dia tetap sabar.
Jika kami berbuat salah, ibu slalu memaafkan kami..

Kelak kalau aku sudah sukses aku ingin membahagiakan mama. aku ingin membalas budinya yang telah ikhlas dan sabar mengurusi kami.
mama sangat ingin pergi ketanah suci Mekkah.. Kelak aku akan bawa ia kesana bersama saudara2 ku :)
Cinta cinta cinta Mama ku :*

Foto-foto Gue bersama Sahabat







Rabu, 06 Maret 2013

Arti Bahagia ?

Arti bahagia

Bahagia itu Fitrah Tabie manusia. Semua orang berhak bahagia?
Tapi apakah bahagia itu TERTAWA ?
TERSENYUM KAH? atau denga ucapan "AKU BAHAGIA" begitu kah ?
  • Bahagia itu relatif?
Malangnya, keinginan manusia untuk bahagia sering tidak kesampaian. Ini disebabkan ramai manusia tidak tahu apa makna bahagia sebenarnya dan mereka juga tidak tahu bagaimanakah caranya untuk mendapatkannya. Jika kita mencari sesuatu yang tidak diketahui dan dikenali, sudah pasti kita tidak akan menemuinya. Oleh itu, usaha mencari kebahagiaan itu mestilah bermula dengan mencari apa erti kebahagiaan itu terlebih dahulu.
Sudah beralih kepada perkara yang lain lagi. Bagi golongan ini kebahagiaan itu adalah satu “moving target” yang tidak spesifik ertinya.
  • Sumber dalaman atau luaran?

© Bella Yulianita 2012 | Blogger Template by Enny Law - Ngetik Dot Com - Nulis