using namespace std;
int n = 0, i = 0;
scanf_s("%d/t%d", n, i);
if ( n + i >= 50)
I actually saw Chinese people here, let me answer.
When you use scanf_s to enter variable values, n and i are preceded by & because it requires the address of the variable. This is the requirement of this C function
Also, I don't know why you have to add /t between your two %ds, you need to remove them. Otherwise, it cannot be output normally, or you can change it to \t. Also, in your printf, you may want to use /n to wrap a line, but use \n instead of /n, and the last two getchar() may be used to prevent the program from jumping directly after running out?
If you want the program to pause, use system("pause");