Machine Based Calculator : Main C Program Version 5.2


  1. #include "inpost.h"
  2. #include "inpost.c"
  3. #include "inpre.h"
  4.  
  5. int main()
  6. {
  7.     Stack S;
  8.     boolean k;
  9.     createStack(&S);
  10.     k = isEmpty(&S);
  11.     if(k)
  12.     {
  13.         printf("==============Initial state=============\n");
  14.         printf("\n          Stack masih kosong          \n");
  15.         printf("________________________________________\n");
  16.         printf("Aplikasi Machine Based Calculator\n");
  17.         printf("Berffungsi untuk mengubah ekspresi Infix Menjadi Postfix dan Prefix\n");
  18.     }
  19.     menu();
  20.     getchar();
  21.     return 0;
  22.  
  23. }

2 thoughts on “Machine Based Calculator : Main C Program Version 5.2

  1. Pingback: Tugas Besar “Machine Based Calculator” : Kalkulator Konversi Infix ke Postfix dan Prefix « The TWOH's Computer Engineering and Science

  2. Pingback: Tugas Besar “Machine Based Calculator” : Kalkulator Konversi Infix ke Postfix dan Prefix | TWOH's Engineering

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s