Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 917 Bytes

File metadata and controls

24 lines (16 loc) · 917 Bytes

Simple Grocery Store Java

🛒 Introduction

A simple Java console-based program that allows users to either buy products or search for them by name.
The program displays a list of predefined grocery items. You can enter the number of the product you want to buy and the quantity, and it will automatically calculate and display the total bill.

This is a beginner-friendly project to practice object-oriented programming, arrays, and user input handling in Java.

✨ Features

  • View a list of available grocery products.
  • Buy products by entering their number and desired quantity.
  • Automatically generate a bill with a total price.
  • Search for a product by name to check its price and shelf number.
  • User-friendly console interface.

🧰 Technologies Used

  • Java (JDK 8 or above)
  • Scanner for console input

Output

https://github.com/Bushraalotaibi/Simple-Grocery-Store-Java/blob/main/output.jpg