Question: output programming language: C++ Please create the pseudocode, and then code and debug a program to accomplish the following Princess Jewelry Design (aka, PJD) creates

 output programming language: C++ Please create the pseudocode, and then code

output

and debug a program to accomplish the following Princess Jewelry Design (aka,

programming language: C++

Please create the pseudocode, and then code and debug a program to accomplish the following Princess Jewelry Design (aka, PJD) creates one-of-a-kind sterling silver and gold jewelry items, including earrings (category 1), pins (category 2), pendants (category 3), bolos (category 4), rings (category 5), and necklaces (category 6). The owner needs to know how to price an item once she has finished makingit. Your program should call separate functions to input and validate each of the following values item-num, item-category (1,2,3,4, 5 or 6), hours-worked, weight-of-silver-in-ounces, weight-of-gold-in-ounces, gem-price and then it should call another function to calculate the wholesale price and the retail price of the item as follows wholesale-price (hours-worked 30+ weight-silver-in-ounces 17.80+weight-gold 1200 + wholesale-gem-price) 1.5 retail price-5* wholesale-price am Here's an Example of this program running Here's part of the pseudocode so that you can see what I am talking about. prototype functions main declare vars temNum getitemNumberO category getCategory0 hoursWorked getHoursWorked0 silverWeight-getSilverWeight goldWeight-getGoldWeight0 gemPrice-getGemPrice) calcPrices(hoursWorked, silverWeight, goldWeight, gemPrice, wholeSalePrice, retailPrice) displayltAllitemNumber, category, hoursWorked, silverWeight, goldweight, gemPrice, wholeSalePrice, retailPrice) end main float getHoursWorked) Ithis is an example of one of the functions float hours prompt for hours input hours while(hours0) prompt for hours input hours end while retun hours

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!