The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 4 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
 JAVA programming only.Â
Â
Assignment 6: Fancy TimerPreparationYou are expected to be familiar with the following textbook sections and lecturesbeforecoming tothe lab.Textbook sections•Chapter 6.1 - 6.4Most relevant lectures•L11IntroductionYou will write two programs: The ±rst program will display any digit from 0-9 in a fancy way. Thesecond program will be a countdown timer. You may workalone or in pairsfor this assignment.In this assignment, you should write a javadoc comment at the top of each class and each method.You will need to write external documentation for the second program.1 Fancy digitsIn this part of the assignment, you will write a program calledFancy.javawhich displays a fancyversion of the input digit.1.1 SpecifcationsInput:The program should accept as input:•a single digit (as anint) – the user should be prompted until the number entered is asingle digit, however, you do not need to handle non-integer input•a display character or sequence (as aString)Output:A fancy version of the digit, composed of the display character or sequence.Displaying fancy digits:If your display sequence is"*", then here is what each of your fancydigits should look like:* ***** ***** ** ***** ***** ***** ***** ***** ******** ** *** ** ** *** ***** ***** ***** ***** ****** ***** ***** *** **** *** *** *** ***** ****** ***** ****** ***** ***** *****Note that you will only need to printone digit at a time,notall on the same line. Theyare displayed here on the same line just to save space.If you look carefully at the digits, you will realize the following facts:1
Attachments:
-----------