Question: The following code contains syntax Error. Identify them and re-write the complete code: Use line numbers for explaining the issue. 5. 1. inclide 2. */

 The following code contains syntax Error. Identify them and re-write the

The following code contains syntax Error. Identify them and re-write the complete code: Use line numbers for explaining the issue. 5. 1. inclide 2. */ This program checks odd or even /* 3. const MAX = 100; 4. int main function () int num == = 0 6. printf( Input a number:) 7. scanf("%f, num); 8. if( num > 0);{ 9. if( num %2 = 0) 10. print("Positive Even); Else if printf(Not a Positive Even); }else; Printf(O or Negative "); 11. 12. 13. 14. roturn

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!