Question: I am trying to write a program in Coral Language to pass an array into a function and return an array. The goal is to

I am trying to write a program in Coral Language to pass an array into a function and return an array. The goal is to pick the favorite child based on the input of three names. Although the program will be written as a random selection, I want the program to pick "Jan" always.

Here is the program I started in the Coral Language simulator. Here is the error I keep getting. How can I fix thisI am trying to write a program in Coral Language to pass

Variables Not shown when editing 1 Function Main () returns nothing 2 float array(3) favoriteChild 3 4 favoriteChild = GetValues(favoriteChild) 5 DisplayValues (favoriteChild) 6 X 7 Function GetValues (float array(?) favoriteChild) returns float arra 8 float i 9 for i = 0; i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!