



|
get Money for Beer
using DadRoom;
namespace Children
{
public class Son
{
Dad objDad;
Money myMoney;
public Son()
{
objDad = new Dad();
this.FathersName = objDad.getName();
}
private Money getMoney()
{
Purse objPurse = (Purse)
objDad.getPurse();
while(!objDad.isInHouse())
{
objPurse.open();
myMoney = objPurse.getMoney();
if(myMoney
>=System.Liquors.Beer.Price)
break;
}
}
}
}
|
Ratings & Comments
The following ratings and comments have been submitted about this code:
Rating: Hilarious
Great Yaaar...
Excellent One
By: GKK kkG
Rating: Hilarious
Gr8
By: Ashik C
Rating: Hilarious
KEEP IT UP
By: asf
Rating: Hilarious
GOOD ONE
By: JK
|
|
|


|