title: C4996 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS
body: <p>I want to solve this problem without "#pragma warning (disable:4996)" please help me.
  I tried many things.
  I think it may have problem with visual studio.</p>