Question: Please help me out with this projects Thw2 - Word O Search aces Mailings Review View Help Shape Format AO E AL 1 AE AaBbCcD.



Please help me out with this projects
Thw2 - Word O Search aces Mailings Review View Help Shape Format AO E AL 1 AE AaBbCcD. AaBbcc AaBb C AaBbCD AaBbCD AaBbCD AaBbCeD Emphasis Heading 1 1 Heading 3 1 Normal Strong Subtitle 1 Title Styles Paragraph without interruption, activate before Thursday, February 4, 2021 Activate PROJECTS: 0 1. (after $2.9] For this project, you need to use the user-query technique for looping and implement your solution in the form of a flowchart. Throughout the world, engineers have built locks that help boats to navigate between rivers and canals that are at different levels. For boats to travel through the lock, water is added or removed from the lock to raise or lower the water level. format for your flowchart's prompts, inputs, and final output Sample session What is the lock's water level in feet? 100 What is the water adjustment? 20 Do you want to continue (y)? y What is the water adjustment? -70 Do you want to continue (y) 2 y What is the water adjustment? -70 Warning! The lock is now empty! Do you want to continue (y)? y What is the water adjustment? 30 Do you want to continue (y)? n The lock's water level is 30 feet. 8 O o 2. (after 52.9] Loop termination by user-query method - pseudocode Provide a solution to the previous problem in the form of pseudocode. 151hw2 - Word Search rences Mailings Review View Help Shape Format DEAL AaBbCcD AaBb AaBbc AaBbCcD AaBbCct AaBbC Emphasis Heading 1 T Heading 3 1 Normal Strong Subtit Styles Paragraph d without interruption, activate before Thursday, February 4, 2021. wat 15 the water adjustment? 30 Do you want to continue (y)? n The lock's water level is 30 feet. Activate 2. (after $2.9] Loop termination by user-query method - pseudocode Provide a solution to the previous problem in the form of pseudocode. 3. (after $2.9] Loop termination by sentinel-value method Write a pseudocode algorithm that keeps track of a lock's water level as described above. The difference is that this time, you should use a sentinel-value loop with a sentinel value of 0 for the water adjustment amount Sample session: What is the lock's water level in feet? 50 Enter water adjustment (0 to quit): -80 Warning! The lock is now empty! Enter water adjustment (0 to quit): 20 Enter water adjustment (0 to quit): 0 The lock's water level is 20 feet. 151hw2 - Word O Search Mailings Review View erences Help Shape Format Aa Po EEEEE AT AaBbCcD. AaBbC( AaBb C AaBbCcD AaBbc Emphasis Heading 1 1 Heading 3 1 Normal Stron Styles Paragraph Nord without interruption, activate before Thursday, February 4, 2021. Activate 4. [after $2.9] Loop termination by counter method Write a pseudocode algorithm that analyzes a tree's annual growth rings. Your algorithm should initially ask the user for the number of annual growth rings that are to be entered. Use a counter loop to ensure that the loop repeats that number of times. Inside the loop, your algorithm should ask the user to enter the distance in centimeters from the tree's center for each ring, with the smaller ring values entered first. Also inside the loop, your algorithm should calculate the amount of growth that took place for the year associated with the current ring. Below the loop, print the growth for the year where the greatest growth took place. Sample session: How many growth ring values are there? 6 Enter ring's distance from the center in cm: 1.2 Enter ring's distance from the center in cm: 2.7 Enter ring's distance from the center in cm: 3.2 Enter ring's distance from the center in cm: 3.8 Enter ring's distance from the center in cm: 5.9 Enter ring's distance from the center in cm: 6.3 The greatest growth in one year was 2.1 cm. EXTRA CREDIT (1 t): Provide a graceful response if the user enters no ring values: Sample session: O W m g w
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
