hey guys can u give me all these hand executions plzz thanq

hey guys can u give me all these hand executions plzz thanq very much (all of the questions below thanx)

data Sz Result 4 int ??? (int data[], int sz) int i; int result = 0; for ( i = 0; i

Solution

Question 1:
Name of the function is : int countNegative(int data[],int sz)
function to count the number of values less than 0


Question 2:
Function name is : linearSearch()
function to check the val is found in the data array or not
   data           val       result
[2, 6, -4, 3, 7]    5       false
[-2, 8, 2, -4, 9]   2       true

Question 3:
OUTPUT:
STARTING
ADDING 30 + 5
SUBTRACTING 75 - 4
Age: 35 Heigh: 71

I like bananas
I like oranges
I like fig
I like lemons

My favourite fruit is lemons

age, height and fruits are data types

Question 4:
OUTPUT: 57,26,105,92,15
19
the individualScore, teamScore, bonusScore, baseScore are intial values
difference between let is for initialization and declaration

hey guys can u give me all these hand executions plzz thanq very much (all of the questions below thanx) data Sz Result 4 int ??? (int data[], int sz) int i; in

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site