CSC 170L - Computer Programming Lab The program must have the following components to get the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
CSC 170L - Computer Programming Lab The program must have the following components to get the nint Lab 5 Grading Rubric Lab #5 CSC 170L - Computer Programming I Lab Using 'A Guide to Designing Computer Programs' as a basis, plan, implement, and test a computer program that solves the problem stated below. Problem Statement - A large apple juice carton can hold 3.35 liters of juice. Each morning, Dale's Apple Orchard ships cartons of apple juice to a nearby Costco. The profit of producing one liter of apple juice is $0.37. Write a program that: A. Gets the total amount of apple juice Dale's Apple Orchard produced on a given day (in liters) as input from the user. B. Given the input, the program should then calculate: a. The total number of cartons needed, and b. The profit of producing the apple juice C. Next, the program should print the following information on screen: a. The number of cartons needed, and b. The profit of producing the apple juice Deliverables - Using 'A Guide to Designing Computer Programs' as a basis, show evidence of each step from Step 1 in 'Plan, plan, plan' up to Step 4 in 'Test'. In particular, you need to submit: 1. The sample equation worked out in 'Plan, plan, plan' Step 1. 2. A sketch of the program running properly with a label on each line and the inputs and outputs clearly labeled ("Plan, plan, plan' Steps 2 and 3). 3. The completed IPO chart. 4. Create a word document called b5_lastname_firstname.cpp to save the screenshots mentioned below containing group member names, course ID and section, and date on the top of the page. 5. Type skeleton code with comments documenting the author, date, etc ('Implement' Step 2). 6. A screenshot of the source code after you have added comments based on your algorithm (the "Process" column of your IPO chart ('Implement' Step 3). Note, your algorithm and your comments should match verbatim! Add screenshot to the word document. 7. A screenshot of the finished source code once you've added the C++ that corresponds with each comment ('Implement' Step 4). Add screenshot to the word document. 8. A screenshot of the output (blackboard). Add screenshot to the word document. 9. The source.cpp file your code saved as Lab5_lastname_firstname.cpp Note: Do not submit the .sin file! Rather, submit the source code with .cpp ending. You must include deliverables 1-8, in order; in the word document and uploaded to Lab5 link on blackboard; Deliverable 9 must be uploaded to Lab5 link via Blackboard. Submit after uploading both documents. CSC 170L - Computer Programming Lab The program must have the following components to get the nint Lab 5 Grading Rubric Lab #5 CSC 170L - Computer Programming I Lab Using 'A Guide to Designing Computer Programs' as a basis, plan, implement, and test a computer program that solves the problem stated below. Problem Statement - A large apple juice carton can hold 3.35 liters of juice. Each morning, Dale's Apple Orchard ships cartons of apple juice to a nearby Costco. The profit of producing one liter of apple juice is $0.37. Write a program that: A. Gets the total amount of apple juice Dale's Apple Orchard produced on a given day (in liters) as input from the user. B. Given the input, the program should then calculate: a. The total number of cartons needed, and b. The profit of producing the apple juice C. Next, the program should print the following information on screen: a. The number of cartons needed, and b. The profit of producing the apple juice Deliverables - Using 'A Guide to Designing Computer Programs' as a basis, show evidence of each step from Step 1 in 'Plan, plan, plan' up to Step 4 in 'Test'. In particular, you need to submit: 1. The sample equation worked out in 'Plan, plan, plan' Step 1. 2. A sketch of the program running properly with a label on each line and the inputs and outputs clearly labeled ("Plan, plan, plan' Steps 2 and 3). 3. The completed IPO chart. 4. Create a word document called b5_lastname_firstname.cpp to save the screenshots mentioned below containing group member names, course ID and section, and date on the top of the page. 5. Type skeleton code with comments documenting the author, date, etc ('Implement' Step 2). 6. A screenshot of the source code after you have added comments based on your algorithm (the "Process" column of your IPO chart ('Implement' Step 3). Note, your algorithm and your comments should match verbatim! Add screenshot to the word document. 7. A screenshot of the finished source code once you've added the C++ that corresponds with each comment ('Implement' Step 4). Add screenshot to the word document. 8. A screenshot of the output (blackboard). Add screenshot to the word document. 9. The source.cpp file your code saved as Lab5_lastname_firstname.cpp Note: Do not submit the .sin file! Rather, submit the source code with .cpp ending. You must include deliverables 1-8, in order; in the word document and uploaded to Lab5 link on blackboard; Deliverable 9 must be uploaded to Lab5 link via Blackboard. Submit after uploading both documents.
Expert Answer:
Answer rating: 100% (QA)
Source Code in C include include using namespace std ... View the full answer
Related Book For
Management Accounting Information for Decision-Making and Strategy Execution
ISBN: 978-0137024971
6th Edition
Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young
Posted Date:
Students also viewed these programming questions
-
Create an IPO chart for each of the following methods: a. The method that calculates the amount owed on a restaurant check, including tip b. The method that calculates the cost to drive your car a...
-
I dont need to know accounting principles because my business is a sole proprietorship. Comment on this statement.
-
I dont care how rich the very rich are. I care if they became rich in an unethical way, or if they use their riches in a particularly vulgar or revolting way. . . . I wouldnt mind if they lost [their...
-
Consider a low-pass signal with a bandwidth of 3 kHz. A linear delta modulation system, with step size = 0.1V, is used to process this signal at a sampling rate ten times the Nyquist rate. (a)...
-
Michael Stone started a personal financial planning business when he accepted $120,000 cash as advance payment for managing the financial assets of a large estate. Stone agreed to manage the estate...
-
Describe the strengths and weaknesses of expense reduction, revenue enhancement, and contribution growth strategies.
-
On January 1, 2007, Harrah's Entertainment, Inc. acquired a 70 percent interest in the company that owned Emerald Safari Resort for \($592\) million in cash and stock. Harrah's is now part of...
-
Tucki Co. receives $240,000 when it issues a $240,000, 8%, mortgage note payable to finance the construction of a building at December 31, 2014. The terms provide for semiannual installment payments...
-
hey tutor please solve this question. QQESTIQN 1: [? Mary! You are the audit partner of Integrity Chartered Accountants ("ICA"), working on the audit of Darwin Tourist Buses ("DTB") for the ...
-
Dance Creations manufactures authentic Hawaiian hula skirts that are purchased for traditional Hawaiian celebrations, costume parties, and other functions. During its first year of business, the...
-
The important difference to note for the scales of measurement and how they are analyzed is whether they involve ______ or ______ as responses on the scale
-
ed Campbell Company established a predetermined variable overhead cost rate at $24.90 per direct labor hour. The actual variable overhead cost rate was $23.10 per hour. The planned level of labor...
-
A painter needs to cover a triangular region 62 meters by 66 meters by 73 meters. A can of paint covers 70 square meters. How many cans will be needed?
-
Explain how events in financial markets can contribute (either exacerbate or cause) recessions. You should explain both the chain of causality and give a recent example of a development in financial...
-
if current ratio increases and quick ratio decreases what is most likely going on ?
-
Suppose the function f and its derivative f' have values as given in the following table. 1 f(z) f(z) 8 10 221 3 4 7 19 52 6 7 8 9 4 6 20 3 17 8 15 14 8 13 14 Compute L* f(=)f (s) da Enter the exact...
-
What are the pros and cons of Verbal behavioral therapy when used for treating behavioral problems of autistic children? How does this compare to the pros and cons of using Social-relational...
-
What are current assets and current liabilities? How are they different from non-current assets and non-current liabilities?
-
How do the time frames for financial benefits for improvements in the different categories of processes typically vary?
-
Why do companies producing a varied and complex mix of products have higher costs than companies producing only a narrow range of products?
-
What is the single most important factor in making major changes to an organization?
-
1.5 Moscow to Tokyo. After spending a week in Moscow, you get an email from your friend in Japan. He can get you a very good deal on a plane ticket and wants you to meet him in Tokyo next week to...
-
1.6 Mark Du Plessis in Johannesburg. Mark Du Plessis lives in Johannesburg, South Africa. He can buy a euro for R16.3700 (South African rand). At the same time, Richard Nolan, living in Paris, can...
-
1.7 Mexico's Cada Seis Aos. Mexico was famous-or infamous-for many years for having two things every six years (cada seis aos in Spanish): a presi- dential election and a currency devaluation. This...
Study smarter with the SolutionInn App