Question: fix the C code please p1 > 41 10 11 12 13 14 15 16 17 18 19 (Global Scope) main(void) #define _CRT_SECURE_NO_WARNINGS #include #define

fix the C code pleasefix the C code please p1 > 41 10 11 12 1314 15 16 17 18 19 (Global Scope) main(void) #define _CRT_SECURE_NO_WARNINGS #include

p1 > 41 10 11 12 13 14 15 16 17 18 19 (Global Scope) main(void) #define _CRT_SECURE_NO_WARNINGS #include #define MIN_YEAR 2010 #define MAX_YEAR 2021 pint main(void) { int JAN = 1 ; int DEC = 12; int year, month; printf("Genaral well-being Log "); printf("=; -= "); printf("Set the year and month for the well-being log (YYYY MM): "); scanf("% d %d", year, month); 20 21 22 23 24 while (2010 2021); printf(" ERROR: The year must be between 2010 and 2021 inclusive "); else if (month 12); printf(" ERROR: Jan. (1) Dec.(12)"); else printf(" ERROR: The year must be between 2010 and 2021 inclusive " ERROR: Jan.(1) - Dec.(12) "); return 0; 36 Error List Xrt Build + IntelliSense Search Error List File Li... Suppression State Project p1 p1 31 33 Entire Solution X5 Errors ! 2 Warnings 0 0 of 1 Message Code Description ab E0127 expected a statement ab E0127 expected a statement ! C4476 'scanf': unknown type field character'' in format specifier ! C4474 'scanf' : too many arguments passed for format string $ C2181 illegal else without matching if C2181 illegal else without matching if C2181 illegal else without matching if p1 21 p1 w3p1.c w3p1.c w3p1.c w3p1.c w3p1.c w3p1.c w3p1.c 21 29 p1 p1 p1 31 33

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!