Answered step by step
Verified Expert Solution
Question
1 Approved Answer
One of the most useful features of any programming language is recursion and control structures, decisions and loops. Recursion and loop structures allow programs to
One of the most useful features of any programming language is recursion and control structures, decisions and loops. Recursion and loop structures allow programs to repeat actions without duplicating code.
This console application focuses on your understanding of object oriented programming, control structures, and arrays.
Create an application that manipulates a billboard sign. Use the following guidelines:
- The program must include a Billboard class (separate from the main program class) that is capable of storing the text to display.
- The class must include data fields
- The Billboard class must include methods to manipulate the text (get, set, reverse, replace substring) as well as the capability to check the text (eg. test if the text is empty).
- The Billboard includes a list of predefined messages that can be set as the message in the billboard.
- The set method allows user to select a predefined message. Also, user can create his message
- Add one extra method that can be used for the Billboard
- The main program must create an object of Billboard class.
- The main program must include a menu to allow a user to select a function of the Billboard object.
- The application must exit upon user request.
For this project, do the following:
- Create an application that manipulates a billboard sign based on the above guidelines.
- Use comments in your code to demonstrate your understanding of each statement.
- Make sure the program runs correctly before submission.
- Zip all the files in your project to a file named yourname_Unit 4 IP
Note: this method must be use (get, set, reverse, replace substring)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
python import the random module to select a random message from the list import random define the Billboard class class Billboard define the construct...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started