Mark Daniels is a carpenter who creates personalized house signs. He wants an ap
ID: 3593256 • Letter: M
Question
Mark Daniels is a carpenter who creates personalized house signs. He wants an application to compute the price of any sign a customer orders, based on the following factors: 1. The minimum charge for all signs is $30 2. If the sign is made of oak, add $15. No charge is added for pine. 3. The first six letters or numbers are included in the minimum charge; there is a $3 charge for each additional character. 4. Black or white characters are included in the minimum charge; there is an additional $12 charge for gold-leaf lettering Design a pseudocode for the following a. A program that accepts data for an order number, customer name, wood type, number of characters, and color of characters, Display all the entered and the final price for the sign. b. A program that continuously accepts sign order data and displays all the relevant information for oak signs with five white letters. c. A program that continuously accepts sign order data and displays all the relevant information for pine signs with gold-leaf lettering and more than 10 characters(PLEASE WRITE A PSEUDOCODE THAT HAS DECLARATIONS AND START TO END THAT INCLUDES EVERTHING. THIS A INTRO TO PROGRAMMING CLASS SO PLEASE DON’T USE JAVA OR ANYTHING JUST THE PSEUDOCODE. THANK YOU)
Explanation / Answer
Hi,
here is the required pseudo code with comments.
A.
func input()//function to take input and print
Input the order number, customer_name, wood_type, number_of_characters, color_of_characters
print order number, customer_name, wood_type, number_of_characters, color_of_characters
B.
Initialize charge to 30
while user is enterting sign data//loop continously
input()
charge=charge+15 //since oak and only 5 letters
print charge
C.
Initialize charge to 30
while user is enterting sign data //loop
input()
charge=charge+12 //since gold leaf lettering
charge=charge+3*(number_of_characters-6) //additional charge for each letter after 6
print charge
Thumbs up if this was helpful, otherwise let me know in comments
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.