- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 8
- Posts with Downvotes
- 4
- Downvoting Members
- 5
hi, I have this assignment can anyone solve it? THe programme statement is Problem Statement: Suppose we have a class named as Train it has two constructors, two methods, and a single attribute each of which described as follows:· One attribute:maxSpeed – an int value representing the maximum speed of … |
|
Problem Statement: Expense class You are required to write a class name “Expenses “. Expenses class has· Constructors· Destructor· Write a function to add expenses for a month· Write function which displays these expenses.· Write a function which calculates savings for a month. · Expense class has following data members … |
|
HI, i am the student of MIT. C++ is my subject. I feel confusion in FUNCTIONS. can you help me? > It works if you get rid of `getline(inFile, Library[i].genre);` I didn't try it but it might have worked with `inFile >>Library[i].genre`, but mixing getlines and >> can cause trouble. … |
|
Re:
Hi. I have this assignment and have absolutely hit a wall here. I will give the assignment details, then say what the issue is: Consider a collection of songs in an MP3 library where each song is characterized by artistName, songTitle, album, playTime (in seconds), musicCategory, and albumProducer – hence, … |