Course Shell

Write the code for each lab assignment. Submit the lab in a single zip file in the online course shell. The lab must contain all .cpp files, along with any additional files that may be necessary for your project to run (ex: text files). Enter any and all written answers into the online course shell along with the submission of the attached lab assignment. Please submit each lab assignment with only two files for grading. a .cpp file of your C++ program design (source code) a .docx file of its program’s successful execution output in Word format.   Each lab assignment will be graded based on the following:  1. The program must compile, execute, produce correct results, and meet all of the specifications in the weekly lab. Additionally, you must:  2. Organize the code for user readability. 3. Organize the code for reusability. 4. Provide documentation with embedded comments for reader understanding. 5. Organize the code for efficiency.   Homework 1:

During each summer, John and Jessica grow vegetables in their backyard and buy seeds and fertilizer from a local nursery. The nursery carries different types of vegetable fertilizers in various bag sizes. When buying a particular fertilizer, they want to know the price of the fertilizer per pound and the cost of fertilizing per square foot. The following program prompts the user to enter the size of the fertilizer bag, in pounds, the cost of the bag, and the area, in square feet, that can be covered by the bag. The program should output the desired result. However, the program contains logic errors.

Don't use plagiarized sources. Get Your Custom Essay on
Course Shell
Just from $13/Page
Order Essay

Find and correct the logic errors so that the program works properly.   //Logic errors. #include #include using namespace std; int main() { double cost; double area;   double bagSize; cout << fixed << showpoint << setprecision(2); cout << “Enter the amount of fertilizer, in pounds, ”           << “in one bag: “; cin >> bagSize; cout << endl;   cout << “Enter the cost of the ” << bagSize           << ” pound fertilizer bag: “; cin >> cost; cout << endl;   cout << “Enter the area, in square feet, that can be “        << “fertilized by ne bag: “; cin >> area; cout << endl;   cout << “The cost of the fertilizer per pound is: $”          << bagSize / cost << endl; cout << “The cost of fertilizing per square foot is: $”          << area / cost << endl;   Return 0;   }   Homework 2:   Linda is starting a new cosmetic and clothing business and would like to make a net profit of approximately 10% after paying all the expenses, which include merchandise cost, store rent, employees’ salary, and electricity cost for the store. She would like to know how much the merchandise should be marked up so that after paying all the expenses at the end of the year she gets approximately 10% net profit on the merchandise cost. Note that after marking up the price of an item she would like to put the item on 15% sale.

Write a program that prompts Linda to enter the total cost of the merchandise, the salary of the employees (including her own salary), the yearly rent, and the estimated electricity cost. The program then outputs how much the merchandise should be marked up so that Linda gets the desired profit.

Essaywriters4me

Calculate The Price Of Your Paper

Pages
{{total || ""}}

Why Choose Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional and Experienced Academic Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

Customer Support 24/7

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essays

Essay Writing Services

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.

Admissions

Admission and Business Papers

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.

Editing

Editing and Proofreading

Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.

Coursework

Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.