Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: pass-by-reference

gokberkkeptig/Vending-Machine

In this programming assignment, you will be implementing a program that simulates a vending machine, i.e. the sale of items, coin counting and change giving. This vending machine will work as follows. A customer will first deposit an initial amount of money and then select an item from the vending machine. Your program must check that the customer makes a valid selection. If it is a valid selection, then the price of selected item will be deducted from the initial deposit and also the number of items in your vending machine will be updated accordingly. Once the customer has finished his/her selection, then your vending machine calculates the denominations of coins that are to be returned to the customer as change. Assume that only 1 TL, 0.5 TL, 0.20 TL, 0.10 TL and 0.05 TL coins are available for making change. With this vending machine, assume that the customer can select only one item at a time. There are 10 of each item at the beginning of each day. If a customer selects an item that is no longer available, then the vending machine will display an error message. Your vending machine starts when it is switched on and only stops when power is shut off. In this vending machine, the following selections are on offer: 1. Water 1.00 TL 2. Coke 1.20 TL 3. Diet Coke 1.20 TL 4. Iced Tea 1.00 TL 5. Swiss Chocolate 1.50 TL 6. Candy 0.95 TL 7. Chips 2.50 TL 8. Bubble Gum 1.50 TL 9. Turkish Delight 2.00 TL

Language: C - Size: 4.88 KB - Last synced: 14 days ago - Pushed: over 3 years ago - Stars: 0 - Forks: 0

DilZhaan/DSA

This repository contains my implementations and practice exercises related to Data Structures and Algorithms. I have been learning from the Hex Coder Youtube Channel, and I've uploaded my code here for reference and sharing with the community.

Language: C++ - Size: 36.1 KB - Last synced: 4 months ago - Pushed: 4 months ago - Stars: 0 - Forks: 0

ChangjaeHan/CS141_projects

Freshman projects from UIC (Program Design 2)

Size: 418 KB - Last synced: 9 months ago - Pushed: almost 3 years ago - Stars: 0 - Forks: 0

ashifshadab/javaNotes

Primarily for my notes on Java various Topic, keeping public so anyone can take benefits.

Size: 3.02 MB - Last synced: 12 months ago - Pushed: over 1 year ago - Stars: 0 - Forks: 0

edwarfmartinez/BmiCalculator

iOS app. Set height and weight, and the Bmi index will be calculated.

Language: Swift - Size: 691 KB - Last synced: about 1 year ago - Pushed: about 2 years ago - Stars: 0 - Forks: 0

sanyathisside/Abstract

Functions, concepts, and STL related to C++, Algorithms, Object-Oriented Programming, Memory allocation, etc.

Language: C++ - Size: 950 KB - Last synced: about 1 year ago - Pushed: almost 4 years ago - Stars: 1 - Forks: 0