Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

NESTED IF/AND FUNCTION Type a Nested IF /AND Function in cell H3 to determine wh

ID: 3658351 • Letter: N

Question

NESTED IF/AND FUNCTION Type a Nested IF /AND Function in cell H3 to determine whether these families are experiencing HARDSHIP, Doing WELL, or ADVANTAGE. a. IF F3 is equal to TRUE and B3 is Greater than or equal to 4, the outcome will display the word "Hardship". b. IF F3 equals TRUE, and B3 is Less than 2, the outcome will display ,"Well" c. IF all both of those tests are false, the outcome will display the word

Explanation / Answer

if F3 is boolean variable void nesteIf(char *H3){ if(F3 && B3 > = 4) printf("HARDSHIP"); if(F3 && B3 < 2) printf("WELL") else printf("%s",H3); } if F3 is string then void nesteIf(char *H3){ if((!strcmp("TRUE",F3)) && B3 > = 4) printf("HARDSHIP"); if((!strcmp("TRUE",F3)) && B3 < 2) printf("WELL") else printf("%s",H3); }