Question: 1 1 : 4 1 4 9 cit 1 2 9 _ hw 2 _ ch 3 _ SP 2 4 Denverapre: The Document file

11:41
49
cit129_hw2_ch3_SP24
Denverapre:
The Document file (.DOCX) with your pseudocode - Name your file using the fr.mont. firstNameLastNameCIT129_hw2.DOCX. Note that I will also accept 2 of 2r PDF files for this question on writing a pseudocode.
Under the Resources link in your Canvas course, there is a PDF file next to the item: "A note on Algorithms 1". According to this document, should a programmer just start with writing code in a programming language or always start with writing the pseudocode?
CIT129- Assignment 2- Chapter 3
Page 1
2. Under the resources link, there is a video on "how to write a pseudocode". Towards the end of that video, there are 4 fundamental concepts associated with programming. Name them and provide an example for each.
3. A recipe to make donuts requires the following ingredients to make 20 of these delicious donuts.
2.5 cups of sugar
5 cups of butter
1.8 cups of flour
1 cup of salt
Write a pseudocode (NOT a computer code) for a program to ask the user for the number of donuts we like to make. Display the number of cups of each ingredient needed to make the specified number of donuts. Don't forget to create descriptive variable names and number your steps. Think about the Input, processing and output steps needed to solve this problem.
HINT: If the user wants to make 50 donuts, she will need 5020**2.5 cups of sugar. Similar calculations apply to the other ingredients. I hope the "Math" is not too difficult!
Write a pseudocode for the following problem. The area of a circle is approximated as 3.14 radius. The volume of the sphere is 4/3radiusradius. Ask the user for the required information and calculate and display the area of the circle and the volume of the sphere. Choose descriptive variable names.
Write a pseudocode for the following problem. Prompt for a salesperson's sales (e.g., $1000) for a day and their commission rate as a percentage (e.g.,12%). Calculate and output their amount of commission for that day. Here is an example that should help with the calculation:
sales =2500
commissionRate =8
commission =2500**(8100)=200
CIT129- Assignment 2- Chapter 3
Page 2
[]
 11:41 49 cit129_hw2_ch3_SP24 Denverapre: The Document file (.DOCX) with your pseudocode

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!