Visual Logic and Design 8th Edition Chapter 5 Maintenance
$9.00
Description
Please help perform maintenance to this pseudo code so it is written to match the comments behind the //
[chapter 5-01 maintenance] Programming Logic and design Introductory Joyce Farrell
// The QuickCopy company currently makes 60,000 copies per year // at 15 cents each. // They expect to increase the number of copies produced // by 4 percent per year each year for the next 10 years, // starting with this year. // They also expect the price of each copy to increase // by 3 cents per year, starting with this year. // This program displays the company’s expected // income for each of the next 10 years. // Modify it to be more efficient. start Declarations num year = 1 num copies = 60000 num price = 0.15 num total = 0 num COPIES_INCREASE = 0.04 num PRICE_INCREASE = 0.03 copies = copies + copies * COPIES_INCREASE price = price + price * PRICE_INCREASE total = total + copies * price output year, total year = year + 1 copies = copies + copies * COPIES_INCREASE price = price + price * PRICE_INCREASE total = total + copies * price output year, total year = year + 1 copies = copies + copies * COPIES_INCREASE price = price + price * PRICE_INCREASE total = total + copies * price output year, total year = year + 1 copies = copies + copies * COPIES_INCREASE price = price + price * PRICE_INCREASE total = total + copies * price output year, total year = year + 1 copies = copies + copies * COPIES_INCREASE price = price + price * PRICE_INCREASE total = total + copies * price output year, total year = year + 1 copies = copies + copies * COPIES_INCREASE price = price + price * PRICE_INCREASE total = total + copies * price output year, total year = year + 1 copies = copies + copies * COPIES_INCREASE price = price + price * PRICE_INCREASE total = total + copies * price output year, total year = year + 1 copies = copies + copies * COPIES_INCREASE price = price + price * PRICE_INCREASE total = total + copies * price output year, total year = year + 1 copies = copies + copies * COPIES_INCREASE price = price + price * PRICE_INCREASE total = total + copies * price output year, total year = year + 1 copies = copies + copies * COPIES_INCREASE price = price + price * PRICE_INCREASE total = total + copies * price output year, total stop
Solution
start Declarations num year = 1 num copies = 60000 num price = 0.15 num total = 0 num COPIES_INCREASE = 0.04 num PRICE_INCREASE = 0.03 num YEARS = 10 while year <= YEARS copies = copies + copies * COPIES_INCREASE price = price + price * PRICE_INCREASE total = total + copies * price output year, total year = year + 1 endwhile stop
The solution built in Visual Logic
SCREENSHOTS
SOLUTION
PAYMENT
The solution includes a zip file.
Attachments [Move over files to preview content of those files]
Visual_Logic_and_Design_8th_Edition_Chapter_5_Maintenance.zip (83.57 KB)
Maintenance.docx
Visual Logic program
Visual Logic and Design 8th Edition Chapter 5 Maintenance.vls
Visual-Logic-and-Design-8th-Edition-Chapter-5-Maintenance-Screenshot.png
Price: $9
Buy Now
Checkout
Added to cart
Add to Cart
Checkout
Added to cart
Note: We offer a discount for buyers who purchase multiple items.
You May Also Like:
Visual Logic and Design 8th Edition Chapter 5 Debug Program
Programming Logic and Design 8th Chapter 5 Exercise 13
Programming Logic and Design 8th Chapter 5 Exercise 8
Programming Logic and Design 8th Chapter 5 Exercise 5
Programming Logic and Design 8th Chapter 5 Exercise 3
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.