Skip to content

Ezaj24/ShoppingCartProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shopping Cart Project

This is a simple console-based shopping cart program built using C#. The app simulates a store where users can browse products, enter the quantity they wish to purchase, and confirm the order. The program keeps track of available stock and calculates the total price of the order. It also implements exception handling for user input errors.

Features:

  • Product display with prices and available quantities.

  • Option to confirm and complete the purchase.

  • Error handling for invalid user inputs (FormatException).

  • Dynamic stock update after each purchase.

This project demonstrates basic C# programming concepts like arrays, exception handling, user input, loops, and conditionals .

# ..............................................................................................................................

About

Shopping Cart Console App A simple C# console app simulating a shopping cart. Users can browse products, select quantities, confirm purchases, and view invoices. It includes error handling, stock management, and total price calculations, demonstrating key concepts like arrays, loops, conditionals, and exception handling.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages