pseudocode:
step1:intilialize array with 4 it can able to store 4 value
step2: read the values from the user and add to array
step 3: then initialize total=0 then add to total finally calculate total/4 then we get avergare
step4:initialize min and max index with zero then compare finally we get min index and max index then print the smallest and largest values
#sample code in python along with output:
Question 42 Not yet graded / 6 pts Write an algorithm in presudocode that will perform...
Question 5 Not yet graded/2 pts What is the sequence of the template strand? Write your A C GT answer 5' to 3! Your Answer:
Question 23 Not yet graded /0 pts Given a Binary Search Tree that is populated with numerical data, write an algorithm that will determine the sum, average, least and greatest of the values maintained in the tree. Express your algorithm in Java-like pseudodode. You may use any of the operations supported by the Binary Search Tree implementation used for Programming Project #5. Your solution must be developed at the application level. Your Answer For the next two questions you must...
(write algorithm and draw flowchart) for this question Write a C program which has a function that takes two numbers and find the largest and the smallest number and find the result of the largest power of smallest.(for example If the entered numbers are 6 and 3 the result is 6³)
name the product?
Question 14 Not yet graded/6 pts Name all of the products of the following reaction. H+ heat CH-CHB.COM CH3-CH2-CH2OH + CH3-CHBr-C-OH
Using This Guideline The problem Initial Plan: Execution and Evaluation: Revised Plan: Execution and Evaluation Write a pseudocode algorithm based off C# that performs the following: a) Read in 5 separate numbers from the user. b) Calculate the average of the five numbers. c) Find the smallest (minimum) and largest (maximum) of the five entered numbers. d) Write out the results found from steps b and c with a message describing what the results were. The algorithm output is as...
Not yet graded /30 pts Question 3 A system is described by the following second-order linear differential equation dy + +5 6y(t)-4f(t )-3f(t) dt dt2 where y(0)-1. y (0) 5, and the input f(t) e'u(t) Solve the differential equation using the Laplace Transform method. Note that f(0) - 0 Your Answer: no option to upload answers so i emailed them to you Quiz Score: 0 out of 100 hp 12 144 5 6
Not yet graded /30 pts Question 3...
1.The following pseudocode algorithm is used to calculate the average of two numbers. Perform a desk check on this algorithm assuming the firstValue is 12.5 and the secondValue is 7.5. You should use a table to show your answer. L1: Program AverageCalculator; L2: Data firstValue as float; L3: Data SecondValue as float; L4: Data average as float; L5: Output “Enter the first Number”; L6: Input firstValue; L7: Output “Enter the second Number”; L8: Input secondValue; L9: average = (firstValue+secondValue)/2; L10:...
QUESTION 16 assume you have n of integer numbers in array A. write general iterative algorithm to calculate the average of n integer number TT T Arial 3 (12pt) ✓ T- ABC Path: P
MASM Assembly Language x86 Processor. Must use windows32 framework Write a non-recursive algorithm to find the greatest common divisor of two positive numbers. . • Your program should read the two positive integers using dialog boxes. If they are not positive, a message box should be displayed with an appropriate message. • Your program needs to have a procedure that takes two positive integers as parameters. • You need to follow cdecl protocol for parameter passing. • Display the valid...
MASM Assembly Language x86 Processor. Must use windows32 framework Write a non-recursive algorithm to find the greatest common divisor of two positive numbers. . • Your program should read the two positive integers using dialog boxes. If they are not positive, a message box should be displayed with an appropriate message. • Your program needs to have a procedure that takes two positive integers as parameters. • You need to follow cdecl protocol for parameter passing. • Display the valid...