plz use HTML

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

plz use HTML

Post by answerhappygod »

plz use HTML
Plz Use Html 1
Plz Use Html 1 (37.27 KiB) Viewed 28 times
Joan has a salesforce that works on commission. Her sales teams enter their sales amounts at the end of each week. They eam commission on sales calculated as a percent of total sales. Create an application that allows the sales force to to enter the dollar and cents amounts of each sale. When they finish entering all of their sales, they enter "Done". Your application will then determine the amount of commission the salesperson will receive The commission rate will vary depending on the total dollar amount value of their sales. After calculations are made, your app will display the following: •The sum of all the transaction values (subtotal) •The commission rate for that value •The total commission eamed • The salesperson's total earnings (the sum plus the commission Note: if the subtotal is zero, the commission rate, commission earned and total earnings must also bezero Requirements: • Use the appropriate looping construct for a posttest loop. Use 'Done' as the sentinel value to exit the loop. • Use accurate and efficient range checks to determine commission rate based on the sum of transactions. • Use one and only one document.write() to produce your output (Hint: outside of the range check decision structure, perhaps?) Make sure dollar amounts are displayed using currency formatting ($ to the left, and two decimal places) Make sure that commission rate is displayed as a percentage Subtotal Commission Rate O and below equals 0% commission $0.01-$499.99 equals 5% commission $500.00-$999.99 equals 10% commission $1000 and over equals 15% commission Your input prompts should look something like this: Ethernoust for your sales a single sale at a time Enter Ca Repeat as many times as needed. When the user enters Done, your application will make the required calculations and use a single document.write() to output the following in a nicely styled HTML page. The content of the text must match exactly, however our client saw a previous web page you designed and has asked you to style the output in a way that is attractive to users. You have free license to use CSS to style her page, as long as it is readable and legible. Hello susemame>, Here is your Weekly Commission Report Your sales total is $598.24, so your commission rate is 10.00% Your total commission is $59.82. Your total earnings are $658.06 Bonus for uploading the sketch of your application logic design.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply