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
Aida Elca
NA
6
805
How can I make a program like this?
Feb 13 2021 10:37 AM
1. Create Class BoardMarker with the ff: private class variables(inkColor and inkContent) with inital values (Black and 20).
Declare the ff: methods
A. displayInfo (Show the inkColor and inkContent)
B. changeColor ( Ask the user to input new color.
Note: You cannot change the color if the ink is not empty)
C. refill( Set the inkContent to 20ml)
D. write(Deduct 10ml every time you execute this method) Note: You cannot execute this method if the inkContent is
empty…Prompt the user to refill.
Create another Class Program containing the Main method. In the main Method, create an object bm of the class
BoardMarker. Show the Main MENU
Sample Output:
==MENU==
1. Display Info
2. Change Color
3. Refill
4. Write
5. Exit
Enter you choice:
Reply
Answers (
1
)
how to do nested loop with output like this.
c# windows from application with sql server