Learning Coral... someone help me out

Unfiltered

The Dan Bongino Show (Mon. – Fri. 12p-3p ET)
Bushed
Joined
May 31, 2022
Messages
1,001
Reputation
86
Daps
2,091
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
26,961
Reputation
4,668
Daps
43,561
Reppin
UK,DE
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)
Bushed
Joined
May 31, 2022
Messages
1,001
Reputation
86
Daps
2,091
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.
 

null

...
Joined
Nov 12, 2014
Messages
26,961
Reputation
4,668
Daps
43,561
Reppin
UK,DE
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.

use "reply to" if you want me to see your post or i might miss it
 
Top