Two lines of code to solve your vs flashback problem

If you are a new programmer using VS, your code may be fine, but when you run the program, the DOS box will flash back.
At this point, add two lines of code to the end of the program to solve your flashback problem

Getchar ();
system(“pause”);

Ex. :
Ninety-nine multiplication tables
#include< stdio.h>
int main()
{
int i, j, m;
for (i = 1; i < = 9; i++)
{
for (j = 1; j < = i; j++)
{
m = i*j;
printf(“%d*%d=%d\t”, i, j, m);
}
printf(“\n”);
}
getchar();
system(“pause”);
return 0;
}

Read More: