Jumat, 19 April 2013

Stack (Push,Pop,Print)


#include<stdio.h>
#include<conio.h>
void Push();
void Pop();
void print();
typedef struct
{
char data[15][15];
int tail;
int head;
}

Queue(POP,PUSH,CETAK)


#include <conio.h>
#include <stdio.h>
#define MAX 5
typedef struct
{
int elm[MAX];
int head;
int tail;
}tElmList;
void Initial(tElmList *isiQueue);
void Insert(tElmList *isiQueue);
void Delete(tElmList *isiQueue);
int isEmpty(tElmList isiQueue);
int isFull(tElmList isiQueue);
void Display(tElmList isiQueue);
int main()

Sabtu, 13 April 2013

Single linked list


Look at this !

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

struct simpul
{
int data;
struct simpul*next;
}*baru,*awal=NULL,*akhir=NULL,*hapus,*temp;

Jumat, 12 April 2013

Menghitung Nilai (Netbeans)


/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nilai;
import java.util.Scanner;

/**
 *
 * @author ACER
 */
public class Nilai {

Menghitung gaji karyawan (Netbeans)


Look at this !

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package menghitunggajipegawi;
import java.util.Scanner;

/**
 *
 * @author Aspire
 */


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()
{

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