Question: 35) 20 pts. Complete the following code: struct Girl { int fingers; int mood; }; struct Girl sing(int f, int m); void main(void) {

35) 20 pts. Complete the following code: struct Girl { int fingers; int mood; }; struct Girl sing(int f, int m); void main(void) { Girl blue; blue = sing(5,0); // write statements to output the 2 member elements of variable blue } struct Girl sing(int f; int m) { Girl temp; // complete the code to assign f to fingers and m to mood in variable temp. temp = f; temp =m; return (temp); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
