Skip to content
FeatherEssaysFeatherEssays
FeatherEssays
Expert Essay and Academic Writing Services
1-343-433-433-444support@featheressays.com

our-guarantee

  • HOME
  • ABOUT US
  • OUR SERVICES
  • HOW IT WORKS
  • FAQ
  • TESTIMONIALS
  • ORDER A CUSTOM PAPER NOW
  • CONTACT US
  • HOME
  • ABOUT US
  • OUR SERVICES
  • HOW IT WORKS
  • FAQ
  • TESTIMONIALS
  • ORDER A CUSTOM PAPER NOW
  • CONTACT US
July 21, 2017UncategorizedBy classhelp24@gmail.com [email if you need fresh paper done]

Please some help here:

This is for an ADT program based on Classes. (ArrayBag)

CREATE:???? A HEADER FILE proj1.h (that CONTAINS CLASS declaration)

????????????????????? THE INTERFACE CLASS????? and

????????????????????? the implementation file BASED ON THE FOLLOWING FILE:

********Main file contains:

#include <iostream>
#include <string>
#include <iomanip>
#include “proj1.h”

using namespace std;

int main(int argc, char** argv)

{??
??? Student stud1; // a student
??? char choice, answer; // handles input from menu and controls loop
??? int score;???????????? // the iten to be added to the end of the array
??? do
{

??? system(“CLS”);????????? // clears the screen
??? cout < ??? cout << setw(15)<< ” “<< “(1)- (A)ddnn”;
??? cout << setw(15)<< ” “<< “(2)- (R)emove nn”;
??? cout << setw(15)<< ” “<< “(3)- (C)learnnn”;
??? cout << setw(35)<< “Enter Choice: “;
??? cin >> choice;
??? choice = toupper(choice);
??? switch (choice)
??? {?? case ‘1’:
??????? case ‘A’:
??????????????? cout << “nAdd what Score “;
??????????????? cin >> score;
??????????????? if (stud1.add(score))?????? // call to the add method
??????????????????? cout << score << “nnAddednn”;
??????????????? break;
??????? case ‘2’:
??????? case ‘R’:
??????????????? if(stud1.remove())????????? // call to the remove method
??????????????????? cout << “nnRemovednn”;
??????????????? break;
??????? case ‘3’:
??????? case ‘C’:
??????????????? stud1.clear();????????????? // call to the clear method
??????????????? break;
???? }
???? cout << “Another Operation (y/n): “;
???? cin >> answer;
??? answer = toupper(answer);

}while (answer == ‘Y’);
???
cin.get();
return 0;??

}

Problem Specification:

The class that will do the following:

default constructor accepts a student?s name (string) and maintains an array of test scores (float).

If there is room you can add a score at the first available position. That is the position immediately following the last added score. If the array is empty, you add at the first position. If the array is full, then you cannot add and must indicate that.

If there are scores in the array, you can remove the last score; scores in the middle or front may not be removed.

If the array is empty then you cannot remove and must indicate that.

You can also clear the array of all the scores, but before you do that you must print the name and contents of the array backward.

Define a default constructor that will ask for a student name to be entered from the keyboard and stores it. It also initializes a counter that keeps track of the number of scores in the array and is maintained when you add, remove, or clear. ?

Define a null destructor. ?

The maximum number of test scores is 5 and is stored in the class data as a static constant. ?

The test scores may be integers, floats or doubles. (Template class) Optional, I can fix it myself

Two methods are defined to determine if the array isFull or isEmpty.

The file ?proj1.cpp? is the client file that tests the methods defined in the implementation file and declared in the header file called ?proj1.h?

Class templates are used to accommodate different types.

Accessor methods are constants and parameters passed are also constants

Clear method calls the print function which prints the array elements last to…

Thanks

Request A Fresh Paper Done For You!You are guaranteed plagiarism free paper within 3-8 hrs
About the author

classhelp24@gmail.com [email if you need fresh paper done]

What are you looking for?
Visit
  • HOME
  • ABOUT US
  • OUR SERVICES
  • HOW IT WORKS
  • FAQ
  • TESTIMONIALS
  • ORDER A CUSTOM PAPER NOW
  • CONTACT US
Happy Client Quotes
  • When I made the decision to seek help from you guys, I didn’t know I was making a choice that would positively change my life forever. I am so much more confident with my ability to go to work and still be able to finish my research paper on time. The research you guys did for me was great and I was highly awarded for it. I mean, all along I was having difficulty managing my time. It was so hard to decide what I ought to give priority, work or research? Thanks to you guys I can now go to work without worrying too much about how great my research should be. I am still the same person, just to be sure, but with lot of skills and ability, courtesy of feather essay. I wish you guys were around 30 years ago when I started doing research while still in school. Great research paper, thanks feather essays.

    Scott Williams, Chicago
  • Feather essays is awesome, really. I can’t just say enough about how well their services are custom-made to meet students’ needs. I mean have been using other services from different websites with erratic degree of satisfaction, but this is way too perfect. I’m thankful their team understand all about essays requirement. I had an essay assignment due in two days so I had to seek for their help, at first I thought they wouldn’t be able to do it perfectly since it was the first time I was using their service. Well, I guess I was wrong. Another thing I also liked about feather essays is how they communicate with clients, so simple, they made me feel at ease even though I was under pressure. From my standpoint, their platform is very intuitive, and it’s pretty much dummy-proof. Thanks to you guys I passed, it’s really hard to recommend anything but feather essays for quality service.

    Joseph Levoh, Phoenix University
  • I mostly do silly mistakes in term papers and essays, and while going through the instructions I used to get stuck after a few steps. I must say I always get annoyed whenever this happened and I had started doubting if I will make it through college. I had lost confidence in myself, I felt uncomfortable and unmotivated in doing assignments. One day I was just going through the internet looking for help with my essay, I found out about feather essay. I was not really sure if they could help me, but considering my situation I decided to give it a try. To say the least, I’ve never regretted making the decision. They are amazing, they offer instant help on assignment and term papers, and whenever I come across any assignment with doubts, all I do is talk to them. They instantly help me with my essays and explain to me everything about it. Thanks to you guys, you help me save a lot of time and concentrate on other class work.

    Eleona Miller, New York City
  • I’d never sought out for help with my essays before, so I was a bit uncertain how to go about it. All this doubts disappeared as soon as I talked to feather essays. You guys took your time to comprehend what my short term and long term needs were, and perfectly lined up different options for me. Considering the fact that I needed a quick response and solution, the options you guys offered were so organized. I thought the steps involved could take up several weeks or days, but I was surprised when all it took was less than four hours. I guess as soon as the agreement was made, the worked started immediately. The way you delivered that essay showed me how top class service professional you guys are. For quick essays help, I recommend you guys. The best thing is that you understand when a client needs more time to think. Thanks to you guys.

    Laurette, Ohio
  • Quick Essay Help

    I’d never sought out for help with my essays before, so I was a bit uncertain how to go about it. All this doubts disappeared as soon as I talked to feather essays. You guys took your time to comprehend what my short term and long term needs were, and perfectly lined up different options for me. Considering the fact that I needed a quick response and solution, the options you guys offered were so organized. I thought the steps involved could take up several weeks or days, but I was surprised when all it took was less than four hours. I guess as soon as the agreement was made, the worked started immediately. The way you delivered that essay showed me how top class service professional you guys are. For quick essays help, I recommend you guys. The best thing is that you understand when a client needs more time to think. Thanks to you guys.

    Diana Ross, California
  • Unique service and quality work!!!Feather essays not only offer wonderful essays but also helped me pass with flying colors!! I could not also believe it. And what makes me love them more is how work is done instantly after ordering!!i will never worry about school essays anymore. Absolutely the best!

    Sasha Kelly, Cleveland
Recent Posts
  • Week 7 – Assignment: Integrate Waste Elimination Techniques into Training Development (10 Points)
    June 5, 2019
  • (Let professional handle your assignment. Get an A) Cloud Architectures Application
    June 25, 2018
  • (Let professional handle your assignment. Get an A) Cloud Architectures Application
    June 25, 2018
  • (Let professional handle your assignment. Get an A) Cloud Architectures Application
    June 25, 2018
  • (Let professional handle your assignment. Get an A) Cloud Architectures Application
    June 25, 2018
  • (Let professional handle your assignment. Get an A) Cloud Architectures Application
    June 25, 2018
  • HOME
  • ABOUT US
  • ORDER A CUSTOM PAPER NOW
  • FAQ
  • CONTACT US
  • TERMS & CONDITIONS
  • CHEAP AND AFFORDABLE PRICES
footer

Copyright © 2015 FeatherEssays