{"id":16348,"date":"2021-11-17T01:54:48","date_gmt":"2021-11-17T01:54:48","guid":{"rendered":"https:\/\/assignmenttutors.net\/blog\/a-software-company-sells-a-package-that-retails-for-99-quantity\/"},"modified":"2021-11-17T01:54:48","modified_gmt":"2021-11-17T01:54:48","slug":"a-software-company-sells-a-package-that-retails-for-99-quantity","status":"publish","type":"post","link":"https:\/\/assignmenttutors.net\/blog\/a-software-company-sells-a-package-that-retails-for-99-quantity\/","title":{"rendered":"A software company sells a package that retails for $99. quantity"},"content":{"rendered":"<div>\n<p><span>1) A software company sells a package that retails for $99. Quantity discounts are given according to the following table:<\/span><\/p>\n<p>Quantity Discount<span>\u00a0<\/span><br \/>10-19 20%<span>\u00a0<\/span><br \/>20-49 30%<span>\u00a0<\/span><br \/>50-99 40%<span>\u00a0<\/span><br \/>100 or more 50%<span>\u00a0<\/span><\/p>\n<p>Write a program that asks for the number of units sold and computes the total cost of the purchase.<\/p>\n<p>Input Validation: Make sure the number of units is greater than 0.<\/p>\n<p>2)A bank charges $10 per month plus the following check fees for a commercial checking account:<\/p>\n<p>$.10 each for fewer than 20 checks<br \/>$.08 each for 20-39 checks<br \/>$.06 each for 40-59 checks<br \/>$.04 each for 60 or more checks<\/p>\n<p>Write a program that asks for the number of checks written durign the past month, then computes an displays the bank&#8217;s fees for the month.<\/p>\n<p>Input Validation: Do not accept a negative value for the number of check written.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>1) A software company sells a package that retails for $99. Quantity discounts are given according to the following table: Quantity Discount\u00a010-19 20%\u00a020-49 30%\u00a050-99 40%\u00a0100 or more 50%\u00a0 Write a program that asks for the number of units sold and computes the total cost of the purchase. Input Validation: Make sure the number of units [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"class_list":["post-16348","post","type-post","status-publish","format-standard","hentry","category-homework-help"],"_links":{"self":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/16348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/comments?post=16348"}],"version-history":[{"count":0,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/16348\/revisions"}],"wp:attachment":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/media?parent=16348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/categories?post=16348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/tags?post=16348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}