TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Hafiz Daniyal
NA
18
1.5k
Question Related to C-sharp Program with OOP Concept?
Dec 10 2019 10:49 AM
So I am going to attach rar file image
in this image 2 QUestion which is related to oop oreint progaming can anyone solve this and
Can anyone give more questsion like this
You can open image and if anyone not open so i am going to write down the question so the quesstion is
Q| Create a class of Item consist of item id,item,name,quanitiy,price, with parametrized constructors. Make method show quantity() which will showw the updated quantitty of item.
*Create only 1 object of item class by the following values 1, 7up, hundred and 50 by using constructor.
*In a loop ask the user how much quantity to purchase
*After user input the quantity it shows the remaning quantity of 7up.
*If he input more quantity then inventory present then programm will show and the quantity is less than order.
*The process continue until user press 1 to exit.
Attachment:
IMG_2651.rar
Reply
Answers (
1
)
how can disable date according to particular date selected?
Use of static Method