-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/TPal71/MyApps
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# MyApps | ||
|
||
|
||
### Feladat: Irjunk programot, ami gyümölcsöket tart nyilván. Ehhez hozzunk létre egy | ||
osztályt. adattagok az osztályban: Gyümölcs neve, szárzási hely, mennyiség | ||
### 1.Feladat: | ||
Irjunk programot, ami gyümölcsöket tart nyilván. Ehhez hozzunk létre egy osztályt. adattagok az osztályban: Gyümölcs neve, szárzási hely, mennyiség | ||
|
||
## Osztály neve: Fruit | ||
# Adattagok: Nev:string Szarmhely: string Menny:int | ||
Osztály neve: Fruit | ||
|
||
# Különleges metódus az osztályon belül: Konstruktor | ||
Adattagok: Nev:string Szarmhely: string Menny:int | ||
|
||
public Fruit(string aNev, string aSzhely,int aMenny) | ||
{ | ||
Különleges metódus az osztályon belül: *Konstruktor* | ||
|
||
} | ||
#Feladat: Számoljuk meg a felvitt gyümölcsök mennyiségét | ||
**Fruit**(string aNev, string aSzhely,int aMenny) | ||
|
||
### 2.Feladat: | ||
Számoljuk meg a felvitt gyümölcsök mennyiségét | ||
|