Learning Coral... someone help me out

Unfiltered

The Dan Bongino Show (Mon. – Fri. 12p-3p ET)
Joined
May 31, 2022
Messages
1,001
Reputation
86
Daps
2,092
Someone assist with this, I go to WGU and I'm kinda learning the basics still.

Iterating through arrays. How do I do this and calculate the numbers? basically how does the formula work?
 

null

...
Joined
Nov 12, 2014
Messages
27,319
Reputation
4,700
Daps
44,054
Reppin
UK,DE,MUFC,DMV
Someone assist with this, I go to WGU and I'm kinda learning the basics still.

Iterating through arrays. How do I do this and calculate the numbers? basically how does the formula work?

using Simulator

Code:
integer array(5) x
integer max
integer i

for i = 0; i < x.size; i = i + 1
   x[i] = Get next input

max = x[0]

for i = 1; i < x.size; i = i + 1
   if x[i] > max
      max = x[i]
      
Put max to output


Screenshot-2022-07-18-at-06-21-31.png
 

Unfiltered

The Dan Bongino Show (Mon. – Fri. 12p-3p ET)
Joined
May 31, 2022
Messages
1,001
Reputation
86
Daps
2,092
Thanks my instructor doesn't even care if we code or not he wants us to just pass the test and move onto the next class.

I'm getting it down more appreciate the drop.
 
Top