Question: The below program has several errors. Rewrite the program without errors Mention at which line the error exists and what is the type of
The below program has several errors. Rewrite the program without errors Mention at which line the error exists and what is the type of the error. #include #include int main() { int num1, num2; printf("Enter the first integer: "); scanf("%d", &num1); printf(" Enter the second integer: "); scanf("%d", &num2); printf(" %d+%d = %d", num1, num2, num1 + num2); printf(" %d/%d = %d", num1, num2, num1 / num2); printf(" %d*%d = %d ", num1, num2, num1 * num2); system("PAUSE"); return 0; }
Step by Step Solution
3.37 Rating (153 Votes )
There are 3 Steps involved in it
The program in the image has several issues that need to be corrected Here are the errors and a rewr... View full answer
Get step-by-step solutions from verified subject matter experts
