
Make a hierarchy chart for the pseudo-code below.
Main()
OpenInput()
While not OutOfInput()
AcquireInput()
ProcessInput()
endLoop
Return
OpenInput()
Open inputFile1
Open inputFile2
Open inputFile3
Return
outOfInput()
If eofFile1 then
Return true
Else
If eofFile2 then
Return true
Else
If eofFile3 then
Return true
Else
Return false
Endif
Endif
Endif
Return
acquireInput()
Get input1 from inputFile1
Get input2 from inputFile2
Get input3 from inputFile3
Return
processInput()
if input1 > input2 then
compute output as input1 * input2
else
compute output as input3 * input1
endif
processInput2()
processInput3()
Return
processInput2()
return input2 * 2
Return
processInput3()
if input3 > 50 then
return input3 * 10
else
return input3
endif
Return

Trending nowThis is a popular solution!
Step by stepSolved in 2 steps with 2 images

- Please help me with the following below using java. Instructions is in the image below. Please show me the image of the two fractals you chose from the image below.arrow_forwardJava Programming Please help me with this Java Progamming project NOT GRADED. Practice homework Please comment the code well and organize the classes so I can understand. Thank you! If solution if the one that is desirable, I will upvote! I really appreciate this, Bartleby!arrow_forward1) The main function a. This is the only function your program should call explicitly i. In your program file, the only code not within a function should be the calling of the main() function b. This function should i. Call the other functions ii. Display the final grade to the user c. This function should take no input arguments and have no return statement 2) The getUserGrades function a. This function should store the user's grades in a list i. As the name suggests 1. The return of this function should be a list containing the grades the user entered 2. This function takes no input Page 1 of 4 3) The calcNumAverage function a. This function should calculate the average grade i. As the name suggets 1. The return of this function should be the average grade the user entered 2. The input to this function should be a list of grades ii. Average Formula 1. Mathematically the average of a set of numbers can be expressed as: Sum . This is the sum of all the numbers divided by the total…arrow_forward
- 1) Complete the algorithm below and test it,Give its time complexity as well public class BubbleSort { public static void bubbleSort(int a[], int size) { int outer, inner, temp; for (outer = size - 1; outer > 0; outer--) { // counting down for (inner = 0; inner < outer; inner++) { // bubbling up } } } }arrow_forwardJAVA PROGRAMMING LANGUAGE PLEASE. Convert the following UML to code in the image given below.arrow_forwardUsing p5* JavaScript on "openprocessing" websitearrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





