Question: TASK 4 - errors (total 15 marks): You have learned that there are 5 types of errors in C++ program namely syntax error, semantic error,

 TASK 4 - errors (total 15 marks): You have learned that

TASK 4 - errors (total 15 marks): You have learned that there are 5 types of errors in C++ program namely syntax error, semantic error, runtime error, linker error and logical error. Assuming integer a=50 and integer b=10, write aC++ program to perform a division operation. Next, modify the C++ program to demonstrate three types of error from the errors listed in the above. Show your program and the output screen for the initial program and the three types of error. Answer (show your program and the output)

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!