Page 1 of 1

My library > PRG/211: Algorithms And Logic For Compute... > 2.11: LAB: Branches: Largest number = zyBooks LAB ACTIVITY 2

Posted: Fri Jul 01, 2022 5:46 am
by answerhappygod
My Library Prg 211 Algorithms And Logic For Compute 2 11 Lab Branches Largest Number Zybooks Lab Activity 2 1
My Library Prg 211 Algorithms And Logic For Compute 2 11 Lab Branches Largest Number Zybooks Lab Activity 2 1 (77.28 KiB) Viewed 69 times
My library > PRG/211: Algorithms And Logic For Compute... > 2.11: LAB: Branches: Largest number = zyBooks LAB ACTIVITY 2.11.1: LAB: Branches: Largest number 1 // below three line declares variables to hold input 2 integer x 3 integer y 4 integer z integer max // below 3 line gets the input for each number x = Get next input Get next input Get next input 9 y 10 z 11 12 // below if else checks larger between first two number 13 if x > y 14 max X EzyBooks catalog 15 else. 16 max y 17 // from above if else when larger number is generated Code Flowchart ENTER EXECUTION STEP RUN Variables Line 13: A branch must have at least one sub-statement, indented by 3 spaces Execution speed Medium Not shown when editing Input 7153 Output Help/FAQ Maria G Triana Agbayani 0/10 Load default template...