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 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
Get step-by-step solutions from verified subject matter experts
