Assignment help asap

Guys…need help in finding the connection between the classes and how to input data without front end and database…jus using predefined set and prompt user input.

Qn is below.

Globex Corporation

Globex is a friendly high tech company run by a visionary founder, Hank Scorpio that specializes in solving big problems. Their organisational software and version control requirements are necessary to ensure the quality of the work they produce is not only world class, but repeatable, and explainable.

MusoPlan Software Requirements

MusoPlan must operate from the command line and be able to perform the following functions:

Create a musician

Select whether the musician is a guitarist, bassist, percussionist, or flautist

Record their name, years playing, and hourly rate

Create a troupe

Record the name, minimum duration, genre

Add a musician to a troupe

Provide a summary description of a troupe

Provide a detailed description of a troupe

Calculate the cost of deploying the troupe for a number of hours

Read a list of troupe names to be populated from a file

Write a list of the detailed descriptions for all troupes to a given filename

Troupe Information

A troupe is a collection of musicians that can be deployed to provide entertainment, the troupe must have functionality to

Describe the troupe in summary by stating

The troupe’s name

How many of which instruments it contains

What genre the troupe plays

The minimum duration of a booking

The hourly rate for the whole troupe

Describe the troupe in detail by giving the troupe summary and then having each musician in the troupe introduce themselves

Troupe data requirements are

Name between 3 and 30 characters

No more than 5 musicians

Valid genre from (rock, jazz, pop)

Minimum duration in hours between 0.5 and 3

Musician Information

All musicians must have functionality to

Describe an interesting fact depending on their instrument

Introduce themselves which must include their name, instrument, years playing, hourly rate, and interesting fact

Musician data requirements are

Name between 3 and 30 characters

Must play one of the four instruments below

Years playing must be non-negative

Hourly rate must be over 50


All instrumentalists are musicians, but at Globex, you are defined by the instrument you play; this means that we do not refer to “Steve Vai is a musician, who plays the guitar” but rather “Steve Vai is a guitarist”. It is expected that your program implements logic consistent with how Globex categories their personnel.

The available instrumentalists and their interesting facts are

Guitarist - “The more strings you have, the better you are”

Bassist - “Everyone loves a bassist”

Percussionist - “Me drum”

Flautist - “1989 heavy metal instrument of the year”

Its in javascript VCS

Firstly, welcome to the forums.

While we are primarily here to help people with their Free Code Camp progress, we are open to people on other paths, too. Some of what you are asking is pretty trivial in the Free Code Camp context, so you might find that if you’re not getting the instruction and material you need in your current studies, the FCC curriculum will really help you get started. At a modest guess I’d say investing a 4-5 hours working through the curriculum here will really pay off. You can find the curriculum at

With your current questions, we don’t have enough context to know what you already know or don’t know, so it is impossible to guide you without just telling you the answer (which we won’t do).

It is pretty typical on here for people to share a codepen / / jsfiddle example of what they have tried so that anyone helping has more of an idea of what help is actually helpful.

Please provide some example of what you’ve tried and I’m sure you’ll get more help.

Happy coding :slight_smile:

Hi Jeremy, sorry if i break any forum rules.
i was in a hurry and just jumped.
this is my code and what im trying with the idea i got from the above description …
the below is not looped and it doesnot have all the connection required between classes.
i just need the idea of connection between them.

const ps=require('prompt-sync')
const prompt=ps()

class Musician{
        this.musName= musName
        this.yearsPlaying= yearsPlaying
        this.hourlyRate= hourlyRate
        console.log("I am"+ this.musName + "Interesting fact about me is "+ this.interestFact)

        console.log("I am"+ this.musName + "Interesting fact about me is "+ myIntro)                 

class Instrumentalist extends Musician{
        this.instrumentName= instrumentName
        let intFact= musName +" is a " +names[i]+" and the interesting fact is: "+this.interestFact

class Troupe{
        this.troupeName= troupeName

        console.log("Truope Information Summary"+troupeInfo)


let names = ['guitarist','bassisst','percussionist','flautist']
//let myIntro=[musName,instrumentName,yearsPlaying,hourlyRate,interestFact]
let myIntro=['John','Guitar',10,55,"I love strings of my guitar"]
//let troupeInfo=[troupeName,noOfInstrument,genreTroupe,durationTroupe,hourlyRateTroupe]

let mus1= new Musician('John','Guitarist',3,55,"I love strings of my guitar")  

//let insta1=new Instrumentalist('Guitarist')

ignore this if its not part of the forum purpose…
no worries

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.