Question: What is the output of the below code snippet? float avg=45.5; if(avg>50 && avg =40) printf(Can do better); else printf(Work hard); O a. Work Hard

 What is the output of the below code snippet? float avg=45.5;

What is the output of the below code snippet? float avg=45.5; if(avg>50 && avg =40) printf("Can do better"); else printf("Work hard"); O a. Work Hard O b. Error O c. Good Score d. Can do better

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!