SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 6 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 08 Nov 2017 My Price 10.00

DJ Playlist Manager: develop a program for a DJ.

C++ Code help please.

DJ Playlist Manager: develop a program for a DJ. The DJ needs to be able to enter data about his or her music collection, such as title, artist, length, genre, and so on. The user should be able to create individual playlists from a subset of the entire music collection. A report should be available showing the songs on a particular playlist, as well as their total length and average song length. There should also be a report showing the names of all the playlists and the total length of each playlist.

 

what I need help with is IPO chart and pseudocode , one conditional expression in separate attachment, loops to validate data. Add a menu to your program that allows users to use the various features or exit the program also In separate attachment, Add arrays to your program to handle more data also separate attachment. Create a hierarchy chart showing the logical components of program. the ability to save data to disk in one or more files. The menu(s) should give the user the option to save or retrieve data. Attached ins code I currently have and I have 50 in tutor credits I can use I need this by Saturday night./*
    Name: DJ playlist Manager
    
    Author: Willie Solomon
    Date: 7-15-2017
    Description: DJ Playlist Manager: You will develop a program for a DJ.
    The DJ needs to be able to enter data about his or her music collection,
    such as title, artist, length, genre, and so on. The user should be
    able to create individual playlists from a subset of the entire music
    collection. A report should be available showing the songs on a
    particular playlist, as well as their total length and average song
    length. There should also be a report showing the names of all the
    playlists and the total length of each playlist.
    
    Create a simplified version of your program. This should be a working
    program that accepts user input, does some calculation, and shows the
    results. It does not have to use conditional expressions, loops, and
    the like.
*/

#include <iostream>
#include <string>

using namespace std;

int main()
{
    //Declare variables
    /*
    
     Name, title, artist, and genre are of type string.
     length is type float.
    
     NOTE: If you don`t know the use of something in thos code, please
     leave me a comment to edit it, or explain you
    
     The use of string in some courses is an advanced feature, instead
     is prefer the use of char arrays, please let me know if this is
     your case.
    
     */
    string name; // name of the playlist
    string title1, title2, title3;
    string artist1, artist2, artist3;
    string genre1, genre2, genre3;
    float length1, length2, length3;
    float totalLength;
    
    // print header
    cout << "############################################################\n";
    cout << "                    DJ Playlist Manager\n";
    cout << "############################################################\n\n\n";
    
    // Input data
    cout << "Insert a name for this playlist: ";
    getline (cin, name);
    
        // First song
    cout << "Insert the title of the first song: ";
    getline (cin, title1);
    cout << "Insert the artist name of the first song: ";
    getline (cin, artist1);
    cout << "Insert the genre of the first song: ";
    getline (cin, genre1);
    cout << "Insert the length of the first song: ";
    cin >> length1;
    fflush(stdin);
    
        // Second song
    cout << "\nInsert the title of the second song: ";
    getline (cin, title2);
    cout << "Insert the artist name of the second song: ";
    getline (cin, artist2);
    cout << "Insert the genre of the second song: ";
    getline (cin, genre2);
    cout << "Insert the length of the second song: ";
    cin >> length2;
    fflush(stdin);
    
        // third song
    cout << "\nInsert the title of the third song: ";
    getline (cin, title3);
    cout << "Insert the artist name of the third song: ";
    getline (cin, artist3);
    cout << "Insert the genre of the third song: ";
    getline (cin, genre3);
    cout << "Insert the length of the third song: ";
    cin >> length3;
    
    
    // Process the data
    
    totalLength = length1 + length2 + length3;
    
    // output data
    cout << "Name of the playlist: " << name << "\n\n";
    cout << "1.--------------------------------------\n";
    cout << "  Title: \t" << title1 << "\n";
    cout << "  Artist:\t" << artist1 << "\n";
    cout << "  Genre: \t" << genre1 << "\n";
    cout << "  Length:\t" << length2 << "\n\n";
    
    cout << "2.--------------------------------------\n";
    cout << "  Title: \t" << title2 << "\n";
    cout << "  Artist:\t" << artist2 << "\n";
    cout << "  Genre: \t" << genre2 << "\n";
    cout << "  Length:\t" << length2 << "\n\n";
    
    cout << "3.--------------------------------------\n";
    cout << "  Title: \t" << title3 << "\n";
    cout << "  Artist:\t" << artist3 << "\n";
    cout << "  Genre: \t" << genre3 << "\n";
    cout << "  Length:\t" << length3 << "\n\n";
    
    cout << "The playlist of name " << name << " has a total length of " << totalLength;
}

Answers

(5)
Status NEW Posted 08 Nov 2017 01:11 PM My Price 10.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)