Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago