Skip to content

Commit e786288

Browse files
authored
Merge pull request #5092 from PeterCon/patch-1
Update tutorial-console-cpp.md
2 parents f8a232b + 477b181 commit e786288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/get-started/tutorial-console-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ Let's handle division by zero more gracefully so that it's easier for the user t
360360
cin >> x >> oper >> y;
361361
if (oper == '/' && y == 0)
362362
{
363-
cout << "Attempted to divide by zero!" << endl;
363+
cout << "Math error: Attempted to divide by zero!" << endl;
364364
continue;
365365
}
366366
else

0 commit comments

Comments
 (0)