{"id":56816,"date":"2023-01-31T00:00:00","date_gmt":"2023-01-31T00:00:00","guid":{"rendered":"https:\/\/nursingessaybay.com\/help\/c-program-a-write-a-program-to-calculate-the-amount-of-wood-needed-to-be-purchased\/"},"modified":"2023-01-31T00:00:00","modified_gmt":"2023-01-31T00:00:00","slug":"c-program-a-write-a-program-to-calculate-the-amount-of-wood-needed-to-be-purchased","status":"publish","type":"post","link":"https:\/\/www.essaybishops.com\/essays\/c-program-a-write-a-program-to-calculate-the-amount-of-wood-needed-to-be-purchased\/","title":{"rendered":"c++ program a. Write a program to calculate the amount of wood needed to be purchased"},"content":{"rendered":"<p>c++ program<br \/>\na. Write a program to calculate the amount of wood needed to be purchased in order to create a rectangular wood frame.<\/p>\n<p>b. Prompt the user for two inputs:<\/p>\n<p>(1) One vertical dimension in inches<\/p>\n<p>(2) One horizontal dimension in inches<\/p>\n<p>c. The following should be calculated and outputted in the following order:<\/p>\n<p>(1) The amount of wood needed in inches<\/p>\n<p>(2) The amount of wood needed in feet (with a decimal answer if needed)<\/p>\n<p>d. Save this program as lab02a.cpp<\/p>\n<p>e. Run the program with the following test data:<\/p>\n<p>(1) One vertical dimension in inches = 40<\/p>\n<p>(2) One horizontal dimension in inches = 60<\/p>\n<p>2. Second program:<\/p>\n<p>a. Write a program to calculate the final cost of items purchased with a discount applied.<\/p>\n<p>b. Prompt the user for three inputs:<\/p>\n<p>(1) Cost per item<\/p>\n<p>(2) Number of items purchased<\/p>\n<p>(3) Discount rate<\/p>\n<p>c. A tax rate of 7 percent should be defined as a constant and the tax rate variable should be used for calculating the tax amount<\/p>\n<p>d. The following should be calculated and outputted in the following order:<\/p>\n<p>(1) Total cost before discount and before tax<\/p>\n<p>(2) Discount amount<\/p>\n<p>(3) Cost after the discount amount is applied<\/p>\n<p>(4) Tax amount<\/p>\n<p>(5) Final cost<\/p>\n<p>e. Save this program as lab02b.cpp<\/p>\n<p>f. Run the program with the following test data:<\/p>\n<p>(1) Cost per item = 5.75<\/p>\n<p>(2) Number of items purchased = 10<\/p>\n<p>(3) Discount rate = 15%<\/p>\n<p>D. Verify all results before you submit the lab.<\/p>\n<p>E. For each program, hand in:<\/p>\n<p>1. A copy of the source code for each of the programs.<\/p>\n<p>A copy of the screen print for the output for each of the programs<\/p>\n","protected":false},"excerpt":{"rendered":"<p>c++ program a. Write a program to calculate the amount of wood needed to be purchased in order to create a rectangular wood frame. b. Prompt the user for two\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7671,7618,7555,7621,7670,7620,7617,7622,7675,7619,7672,7615,7613,7616,7612,7669,7614],"tags":[7679,7677,6683,7627,7637,7626,7635,7600,7633,7634,7631,7673,7597,7632,7598,7629,7594,7676,7636,7628,7638,7630,1402,7678,199],"class_list":["post-56816","post","type-post","status-publish","format-standard","hentry","category-assignment-help-by-uks-no-1-writing-service","category-australia-dissertation-writers","category-australia-essays","category-best-essay-writers-pinterest","category-dissertation-assignment-help-uae","category-do-my-university-assignment-for-me","category-essay-pro-dissertation-writers","category-essays-uk","category-help-write-my-assignment","category-homework-help-services-best-websites","category-i-need-help-with-my-homework","category-i-need-help-writing-a-page-paper-assignment","category-masters-essays","category-pay-someone-to-write-a-paper-for-you","category-phd-assignment-help","category-research-paper-ideas","category-website-that-writes-assignments","tag-buy-essay","tag-cheap-essay-writers","tag-custom-essay","tag-dissertation-ideas","tag-dissertation-topic","tag-essay-topics","tag-free-essays","tag-get-assignments-done","tag-help-in-assignment","tag-help-with-class","tag-i-need-help","tag-i-need-help-writing-an-essay","tag-i-need-help-writing-my-homework","tag-page-paper","tag-phd-essay-writers","tag-research-paper-samples","tag-research-paper-writing-service-for-any-topic","tag-study-essay","tag-term-paper","tag-thesis-examples","tag-thesis-writers","tag-write","tag-write-a-paper","tag-write-my-assignment-ireland","tag-write-my-research-paper"],"_links":{"self":[{"href":"https:\/\/www.essaybishops.com\/essays\/wp-json\/wp\/v2\/posts\/56816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.essaybishops.com\/essays\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.essaybishops.com\/essays\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.essaybishops.com\/essays\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.essaybishops.com\/essays\/wp-json\/wp\/v2\/comments?post=56816"}],"version-history":[{"count":0,"href":"https:\/\/www.essaybishops.com\/essays\/wp-json\/wp\/v2\/posts\/56816\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.essaybishops.com\/essays\/wp-json\/wp\/v2\/media?parent=56816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.essaybishops.com\/essays\/wp-json\/wp\/v2\/categories?post=56816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.essaybishops.com\/essays\/wp-json\/wp\/v2\/tags?post=56816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}