🔒 Closed Pa help C# po. ♥️

Status
Not open for further replies.
Switch na naka Loop.
Pano kaya yan kuys. Eto po yung instructions

Directions:

  1. Create Struct BoardMarker with the ff: members (inkColor and inkContent) with inital values (Black and 20). Declare the ff: methods
  2. displayInfo (Show the inkColor and inkContent)
  3. changeColor ( Ask the user to input new color. Note: You cannot change the color if the ink is not empty)
  4. Refill( Set the inkContent to 20ml)
  5. 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.
In the main Method, create a Struct Variable bm of the Struct BoardMarker. Show the Main MENU


Sample Output:

==MENU==
  1. Display Info
  2. Change Color
  3. Refill
  4. Write
Enter you choice:




Ayan po. Baguhan lang po kasi ako.
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 347
    Views
  • 2
    Participants
Last reply from:
G I N E B R A

Trending Topics

Online now

Members online
1,188
Guests online
2,001
Total visitors
3,189

Forum statistics

Threads
2,293,800
Posts
29,086,755
Members
1,207,966
Latest member
nxxxxxx
Back
Top