Skip to content

Warung Murah is a lightweight command-line shop application written in C, designed for learning basic programming concepts such as input/output, loops, and simple logic.

License

Notifications You must be signed in to change notification settings

IldhanSec/Warung-murah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warung Murah v1.0.0

A simple command-line warung (small shop) simulation written in C.

Overview

Warung is a lightweight CLI application built using the C programming language. It simulates a small local shop where users can view available items, make purchases, and see the total cost directly from the terminal.

This project was created mainly as a learning exercise to practice basic C programming concepts such as input/output, control flow, and simple program structure.

Features

  • Simple command-line interfaces
  • Item list with prices
  • Purchase simulation
  • Automatic total price calculation
  • Food menu
  • Drink menu
  • Simple purchases
  • Cheap food packages

Language Notice

The program output and user interaction are currently written entirely in Indonesian.

English language support is not available yet, but it is planned for a future update.

Prerequisites

  • Linux or Unix-base system
  • GCC or Clang (C compiler)
  • Basic familiarity with terminal usage

To install GCC on Debian/Ubuntu

 sudo apt install build-essential

Installation

Clone the repository and build the program:

git clone https://github.com/IldhanSec/Warung-murah
cd Warung
gcc -Wall warung.c -o warung
./warung

Usage

Run the program from the terminal:

./warung

Follow the on screen instructions to select and complate a purchase

Example

  • Not available.

Purpose

This project is intended fo:

  • Beginners learning the C programming language
  • Practicing basic logic, loops, and conditionals
  • Understanding how simple CLI programs work

📝 Notes

  • This is an educational project, not a production ready system.
  • The code is intentionally kept simple for learning purposes.
  • Future improvements may include:
    • English language support
    • Better code structure using struct
    • File based data storage
    • Addtional features (stock, discounts, etc.)

Changelog

v1.0.0

  • Indonesian language only
  • Updated opening banner and program description
  • CLI menu for food and drinks
  • Total payment calculation with bonus/discount
  • Package system (A, B, C, D)

🐞 Bug Reports & Feature Requests

If you find a bug or have an idea for a new feature (including language support), please open an issue on GitHub.

Your feedback is highly appreciated.

About

Warung Murah is a lightweight command-line shop application written in C, designed for learning basic programming concepts such as input/output, loops, and simple logic.

Topics

Resources

License

Stars

Watchers

Forks

Languages