Linux in General > Linux Development & Programming  Programming
Help        I am in need of some help with several programming
questions, I am truly lost so if someone can please help me i'd
be greatful.    1. Declare a function that is called
Compute_Avg. The function returns a float data, receives an
integer parameter named “num”, and a float parameter named
“Average”.  2.  x = 2, y =1, z =3, what is the value of x, y, z
after executing the following codes?       case 0: x =2; y =3;
      case 1: x =3; break;       default: x=3; y=2 ;  3.  Find
any errors in the following function declarations.    a. int
sun(int x, y);    b. int sun(int x, int y)    c. void sun(void,
void) ;    d void sun(x int, y float);  4.   What is the output
of the code corresponding to the following pseudocode?  X = -5;
if  (X > 0) if (!((X=0) && (X<0)))  void print_message(void);
int main()    print_message( );    printf(“This is a new
message.\n”);    print_message( );    print_message( );
   printf(“The end.\n”);    return 0; void