Programming Exercises

Change the program BliposClock.cs in Listing 6.8 to exhibit the functionality presented in the next four points:

1:Enable the clock to be adjusted by plus/minus 100 seconds by giving the commands H and M.
2:A year on Blipos has 256 days. The first day of the year has number 0. The civilization is very old on Blipos; their current year is 4,294,967,296. Allow the Blipos clock to show the date on Blipos as ddd/y,yyy,yyy,yyy. Which types would you choose for ddd and yyyyyyyyyy?
3:Allow the user to set and adjust the day and year of the Blipos clock so that it becomes possible to move forward and backward in time by one day and one year.
4:The emperor's birthday is celebrated on the 100th day of each year. Enable the Blipos clock ...

Get C# Primer Plus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.