C# Exercise: Vending Machine (OOP, Objects, Classes, Methods)

  Рет қаралды 16,110

Coding Homework

Coding Homework

Күн бұрын

Пікірлер: 11
@COD_Teo
@COD_Teo 9 ай бұрын
what if you tried adding stock to the vending machine ?
@xVarga
@xVarga 3 жыл бұрын
why is the constructor necessary here? cant we just declare the depositedAmount field as 0 without using a constructor?
@kgwack
@kgwack 7 жыл бұрын
Why don't you use depositedAmount += coinAmount inside DepositCoin method so that the coin insertion is accumulated?
@RandomPlaceHolderName
@RandomPlaceHolderName 6 жыл бұрын
Mhmm. Clearly states the method should add.
@dogusural5792
@dogusural5792 9 жыл бұрын
Great video as always :) Thank you.
@gamerdarkness7021
@gamerdarkness7021 8 жыл бұрын
can u code an exercise for me
@jordanrussell5502
@jordanrussell5502 8 жыл бұрын
how would i do this in a form, i need to have buttons for each entity instead of it being in a console
@Dreadric79
@Dreadric79 10 жыл бұрын
Good work as always. Could you do a program that calculates take home pay of an hourly and or salaried employee? Ive got this type of problem for an assignment and the switch statement is really screwing me up. I dont know if I should keep it in main() or put it in class ABC. It would be much appricated.
@codingchallenges
@codingchallenges 10 жыл бұрын
Dreadric79 What is the exercise number?
@নীরবপ্রহর
@নীরবপ্রহর 8 жыл бұрын
will you please solve a problem for me?
@itech40
@itech40 5 жыл бұрын
Awesome vid keep it up :)!
8-19 C# Airline Reservations System (C# arrays, C# loops, C# Random)
47:08
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
C# getters & setters 🔒
4:06
Bro Code
Рет қаралды 169 М.
Top 10 C# Best Practices (plus bonuses)
57:28
IAmTimCorey
Рет қаралды 513 М.
11. How to program in C# - INHERITANCE - Beginner Tutorial
14:08
Fundamental Concepts of Object Oriented Programming
9:16
Computer Science Lessons
Рет қаралды 989 М.
C++ OOP - Introduction to classes and objects for beginners
12:06