Write the code for each lab assignment. Submit the lab in a singl

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.   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.

Struggling to find relevant content? Order a custom essay on
Write the code for each lab assignment. Submit the lab in a singl
Let our experts save you the hassle
Order Now
Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
Sign up, place your order, and leave the rest to our professional paper writers in less than 2 minutes.
step 1
Upload assignment instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
s
Get personalized services with GPA Fix
One writer for all your papers
You can select one writer for all your papers. This option enhances the consistency in the quality of your assignments. Select your preferred writer from the list of writers who have handledf your previous assignments
Same paper from different writers
Are you ordering the same assignment for a friend? You can get the same paper from different writers. The goal is to produce 100% unique and original papers
Copy of sources used
Our homework writers will provide you with copies of sources used on your request. Just add the option when plaing your order
What our partners say about us
We appreciate every review and are always looking for ways to grow. See what other students think about our do my paper service.
Nursing
Thank you to the writer and also thank you to the support team I got an A for the paper
Customer 452635, June 17th, 2022
Nursing
The writing was very supportive
Customer 453053, May 2nd, 2025
Other
Excellent
Customer 452813, August 21st, 2023
Finance
Thank You
Customer 452643, October 24th, 2021
Web programming
outstanding!
Customer 452715, September 16th, 2022
Other
AWESOME
Customer 452813, June 25th, 2022
Social Work and Human Services
Awesome Work!
Customer 452587, October 20th, 2021
Human Resources Management (HRM)
Thank you so much for your time.
Customer 452701, September 5th, 2023
Human Resources Management (HRM)
Thanks
Customer 452701, September 15th, 2023
Nursing
Top notch quality!
Customer 452453, February 16th, 2023
Human Resources Management (HRM)
Thank you.
Customer 452701, April 24th, 2023
Business and administrative studies
Thank you very much for your help.
Customer 452861, September 16th, 2022
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat

Good News ! We now help with PROCTORED EXAM. Chat with a support agent for more information