Final Project Requirements & Rubric Final Project Requirements Your Final Project written in C++ will be one that you propose to me that has a series of requirements as defined below. The project must...

1 answer below »

Final Project Requirements & Rubric


Final Project Requirements

Your Final Project written in C++ will be one that you propose to me that has a series of requirements as defined below.

The project must have 2 or more classes
The project must use a struct
The project must use functions that have parameters passed to the function
There must be mathematical operations in your project
There must be user interaction in your project
Your project must use a C++ data structure, such as an array, vector, stack, or list

You will need to submit a Project Proposal by 4/12. The Proposal will be reviewed and comments will be provided back. The code written for the Final must be all original code. You can use libraries that are available in the C++ Standard Template Librbary, etc. however, these will not count as classes that you are using, they can only be supportive of your Final Project.

Proposal Requirements:

For your proposal, you must submit a document with the following sections for Mr. Faircloth's review and approval.
-Description:You will provide a high-level description of your Final Project and what it will do.
-Design:You will provide descriptions for the classe(s) you need to create along with what it/they are supposed to do. Also, what data structure you plan to use.
-Libraries (optional):You will define any external libraries you may be using. You are not required to use any. This is not required and do not be concerned if you don't know what these are. I make this available to students that may have used C++ libraries.
-Testing:You will provide information on how you intend to test your Final Project

Advice:

- Propose to write this Final Proposal about something you are interested in, it could be sports, astronomy, physics, data analytics, etc.
- Do not make it too grandiose, remember you have to have something to deliver by the end of the semester
- Don't wait until the last minute to code and test it. The deadline is the deadline. Unlike homework assignments and other projects if this is late you will get a 0 and likely not pass the class.

Rubric:

Project executes -20%
The project must have 2 or more classes - 10%
The project must use functions that have parameters passed to the function - 10%
There must be mathematical operations in your project - 10%
There must be user interaction in your project - 10%
Your project must use a C++ data structure, such as an array, vector, stack, or list - 10%
The project does as proposed in the Proposal - 15%
The project has good commentary, variable naming, etc. - 5%
Final Project Presentation - 10%

Answered 3 days AfterMay 03, 2021

Answer To: Final Project Requirements & Rubric Final Project Requirements Your Final Project written in C++...

Aniket answered on May 05 2021
152 Votes
Solution/bin/Debug/Solution.exe
Solution/main.cpp
#include
#include
#include
#include
using namespace std;
// VEGETABLE SPECIFICATIONS
class Vegetable{
public :
string name; //NAME OF VEGETABLE
string color; //COLOR OF VEGETABLE
string type; //TYPE OF VEGETABLE
int protein_qty,carbs_qty
,fats_qty,fibre_qty; //MEASUREMENTS OF VARIOUS NUTRIENTS IN THAT VEGETABLE
void DisplayInfo()
{
cout<<"\n VEGETABLE NAME IS :- "< cout<<"\n VEGETABLE COLOR IS :- "< cout<<"\n VEGETABLE TYPE IS :- "< cout<<"\n VEGETABLE NUTRIENTS ARE GIVEN BELOW :- ";
cout<<"\n PROTEIN :- "< cout<<"\n CARBOHYDRATES :- "< cout<<"\n FATS :- "< cout<<"\n FIBRES:- "< }
};
//GARDEN CLASS
class Garden{
public :
string name; // NAME OF GARDEN
Vegetable veg[20]; //Array of vegetable class
int price[20],total_veg=0;
Garden ()
{
price[0]=-1;
total_veg=0;
}
void DisplayVegetables()
{
if (total_veg==0)
{
cout<<"\n SORRY THERE ARE NO VEGETABLES RIGHT NOW";
}
else
{
cout<<"\n LIST OF VEGETABLES PRESENT IN "< cout<<"\n GIVEN BELOW";
for (int i=0;i {
cout<<"\n Name of the vegetable :- "< cout<<"\n Price in garden"< }
}
}
};
struct Element//Structure
{
string veg_name; //NAME OF VEGETABLE
string veg_color; //COLOR OF VEGETABLE
string veg_type; //TYPE OF VEGETABLE
int veg_protein_qty,veg_carbs_qty,veg_fats_qty,veg_fibre_qty; //NUTRIENTS VALUE
int veg_price;
//COUNT THE NUMBER OF PLANTS
void Count_Number_Plants(Garden *g)
{
int total=0;
for (int i =0;i<20;i++)
{
if (g->price[i]==-1)
{
break;
}
else{
total++;
}
}
cout<<"\n The total count of PLANTS IS "< }
//UPDATE VEGETABLE DETAILS
void Update_Vegetable_Details(Garden *g,string name)
{
if (g->total_veg==0)
{
cout<<"\n NO SUCH VEGETABLE IN THE GARDEN";
}
else{
transform(name.begin(), name.end(), name.begin(), ::toupper);
int x;
for (int i=0; itotal_veg;i++)
{
transform(g->veg[i].name.begin(), g->veg[i].name.end(), g->veg[i].name.begin(), ::toupper);
x= name.compare(g->veg[i].name);
if(x==0)
{
cout<<"\n ENTER THE NAME OF VEGETABLE \t";
cin>>veg_name ;
cout<<"\n ENTER THE COLOR OF VEGETABLE \t";
cin>>veg_color ;
cout<<"\n ENTER THE TYPE OF VEGETABLE \t";
cin>>veg_type ;
cout<<"\n ENTER THE NUTRIENTS OF VEGETABLE \t";
cout<<"\n ENTER PROTEINS \t";
cin>>veg_protein_qty;
cout<<"\n ENTER CARBPHYDRATES \t";
cin>>veg_carbs_qty;
cout<<"\n ENTER FATS \t";
cin>>veg_fats_qty;
cout<<"\n ENTER FIBRE \t";
cin>>veg_fibre_qty;
cout<<"\n ENTER THE PRICE OF VEGETABLE \t";
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here