Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in C++ Language Please. Question 1. Write a Song Lyrics Creator program to store a list of song lyrics. The information need to be stored
in C++ Language Please.
Question 1. Write a Song Lyrics Creator program to store a list of song lyrics. The information need to be stored are: a. Song composer b. Song title C. Lyrics 2. The program should display menu options (refer to sample output below). 3. You may refer to program template provided as guideline. Program template //import libraries struct Song { int line; //to show line of lyric string text; //to store lyric int menu Lyric() { //display menu options //return user choice void addLyric(/*necessary parameters*/) { //add lyric to the list } void updateLyric (/*necessary parameters*/) { 1/update lyric according to line no entered by user void displayLyric (/*necessary parameters*/) { //display song title and lyrics //main function int main() { //declaration of struct array and identifiers //input for song composer and title //invoke menu //invoke necessary functions return 0; Sample Output Enter your name: Johnny Welcome to Song Lyrics Creator Program Johnny Enter your song title: My Humpty Dumpty : :MENU:: [1] Add new lyric line [2] Edit lyric [3] Display current lyrics [4] Exit Enter choice: 1 Option [1] Add new lyric line Enter your song lyric: Humpty Dumpty sat on the wall Add more lyric line [Y to continue]: Y Enter your song lyric: Humpty Dumpty had a great fall Add more lyric line (Y to continue]: N : : MENU :: [1] Add new lyric line [2] Edit lyric [3] Display current lyrics [4] Exit Enter choice: 3 Option [3] Display current lyrics Song composer: Johnny Song title: My Humpty Dumpty Song lyric: 1 Humpty Dumpty sat on the wall 2 Humpty Dumpty had a great fall : :MENU:: [1] Add new lyric line [2] Edit lyric [3] Display current lyrics [4] Exit Enter choice: 2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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